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.
  • Constructor Details

    • FreemarkerUtils

      public FreemarkerUtils()
  • Method Details

    • mapWrapper

      public static Object mapWrapper(Map<? extends Number,?> map)