@Test public void testFormatDateUnExists() { String tpl = "a${(d?string('yyyy-MM-dd HH:mm:ss'))!}"; Map<String, Object> args = new HashMap<String, Object>(); Assert.assertEquals("a", FreeMarkerUtils.format(tpl, null)); }
public static String format(String tpl, Map<String, Object> args) { return format(tpl, (Object) args); }
FreeMarkerUtils { public static String format(String tpl, Map<String, Object> args) { return format(tpl, (Object) args); } }
FreeMarkerUtils { public static String format(String tpl, Map<String, Object> args) { return format(tpl, (Object) args); } private  FreeMarkerUtils(); }
FreeMarkerUtils { public static String format(String tpl, Map<String, Object> args) { return format(tpl, (Object) args); } private  FreeMarkerUtils(); static String format(String tpl, Map<String, Object> args); static String format(String tpl, Object args); }
FreeMarkerUtils { public static String format(String tpl, Map<String, Object> args) { return format(tpl, (Object) args); } private  FreeMarkerUtils(); static String format(String tpl, Map<String, Object> args); static String format(String tpl, Object args);  }