FreemarkerHelper
.@Deprecated public class FreemarkerUtil extends Object
FreemarkerHelper
Constructor and Description |
---|
FreemarkerUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
createTemplateName(Class<?> klass,
String ext)
Deprecated.
Creates a template name based on the class name and adds the extension.
|
static String |
createTemplateName(Class<?> klass,
String classifier,
String ext)
Deprecated.
Same as
createTemplateName(Class, String) but adds the classifier between
the template name and the extension. |
static String |
process(Class<?> klass,
Object thisObj)
Deprecated.
Uses the class to create the templates name and passes the object under the name 'this'.
|
static void |
process(Class<?> klass,
Object thisObj,
Writer out)
Deprecated.
|
static String |
process(Object thisObj)
Deprecated.
Uses the class of the object to create the templates name, passes the object under the name 'this'
and returns the result in a String.
|
static String |
process(Object thisObj,
String classifier,
String ext)
Deprecated.
Same as
process(Object) but adds the classifier and the extension to the template name. |
static void |
process(Object thisObj,
String classifier,
String ext,
Writer out)
Deprecated.
|
static void |
process(Object thisObj,
Writer out)
Deprecated.
|
static String |
process(String name,
Map<String,Object> data)
Deprecated.
Process this template with the passed data and returns the result in a String.
|
static void |
process(String name,
Map<String,Object> data,
Writer writer)
Deprecated.
Process the template with the data and writes the result to the writer.
|
public static String process(Object thisObj)
public static void process(Object thisObj, Writer out)
process(Object)
public static String process(Object thisObj, String classifier, String ext)
process(Object)
but adds the classifier and the extension to the template name.public static void process(Object thisObj, String classifier, String ext, Writer out)
process(Object, String, String)
public static String process(Class<?> klass, Object thisObj)
public static void process(Class<?> klass, Object thisObj, Writer out)
process(Class, Object)
public static String process(String name, Map<String,Object> data)
public static void process(String name, Map<String,Object> data, Writer writer)
public static String createTemplateName(Class<?> klass, String ext)
public static String createTemplateName(Class<?> klass, String classifier, String ext)
createTemplateName(Class, String)
but adds the classifier between
the template name and the extension.Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.