it.geosolutions.tools.freemarker
Class FreeMarkerUtils
java.lang.Object
it.geosolutions.tools.freemarker.FreeMarkerUtils
public abstract class FreeMarkerUtils
- extends Object
Set of static function to use FreeMaker
- Author:
- Carlo Cancellieri - carlo.cancellieri@geo-solutions.it
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FreeMarkerUtils
public FreeMarkerUtils()
freeMarker
public static void freeMarker(Object root,
FreeMarkerFilter filter,
File output)
throws Exception
- Using the root as DataModel (wrapped using the passed FreeMarkerFilter) to produce the output file
- Parameters:
root - filter - output - the output file
- Throws:
Exception
freeMarkerToString
public static String freeMarkerToString(Object root,
FreeMarkerFilter filter)
throws Exception
- Using the root as DataModel (wrapped using the passed FreeMarkerFilter) to produce the returned string
- Parameters:
root - filter -
- Returns:
- a filtered string
- Throws:
Exception
Copyright © 2011-2012 GeoSolutions. All Rights Reserved.