Package pl.matsuo.core.util
Class FreemarkerUtils
java.lang.Object
pl.matsuo.core.util.FreemarkerUtils
public class FreemarkerUtils extends Object
Helper util for maps in freemarker. By wrapping map with mapWrapper() you can get map elements by
simply lookup(id). Normal maps are changed internally by freemarker and their behaviour is weird.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFreemarkerUtils.FreemarkerMapWrapper -
Constructor Summary
Constructors Constructor Description FreemarkerUtils() -
Method Summary
Modifier and Type Method Description static ObjectmapWrapper(Map<? extends Number,?> map)
-
Constructor Details
-
FreemarkerUtils
public FreemarkerUtils()
-
-
Method Details
-
mapWrapper
-