public class TemplateModelUtils
extends java.lang.Object
限定符 | 构造器和说明 |
---|---|
private |
TemplateModelUtils() |
限定符和类型 | 方法和说明 |
---|---|
static java.lang.Object |
converBean(freemarker.template.TemplateModel model) |
static java.math.BigDecimal |
converBigDecimal(freemarker.template.TemplateModel model) |
static java.lang.Boolean |
converBoolean(freemarker.template.TemplateModel model) |
static java.lang.Byte |
converByte(freemarker.template.TemplateModel model) |
static java.util.Date |
converDate(freemarker.template.TemplateModel model) |
static java.lang.Double |
converDouble(freemarker.template.TemplateModel model) |
static java.lang.Integer |
converInteger(freemarker.template.TemplateModel model) |
static java.lang.Long |
converLong(freemarker.template.TemplateModel model) |
static java.util.Map<java.lang.String,java.lang.String> |
converMap(freemarker.template.TemplateModel model) |
static java.lang.Short |
converShort(freemarker.template.TemplateModel model) |
static java.lang.String |
converString(freemarker.template.TemplateModel model) |
static java.lang.String[] |
converStringArray(freemarker.template.TemplateModel model) |
public static java.lang.Object converBean(freemarker.template.TemplateModel model) throws freemarker.template.TemplateModelException
model
- freemarker.template.TemplateModelException
public static java.lang.String converString(freemarker.template.TemplateModel model) throws freemarker.template.TemplateModelException
model
- freemarker.template.TemplateModelException
public static java.util.Map<java.lang.String,java.lang.String> converMap(freemarker.template.TemplateModel model) throws freemarker.template.TemplateModelException
model
- freemarker.template.TemplateModelException
public static java.lang.Integer converInteger(freemarker.template.TemplateModel model) throws freemarker.template.TemplateModelException
model
- freemarker.template.TemplateModelException
public static java.lang.Byte converByte(freemarker.template.TemplateModel model) throws freemarker.template.TemplateModelException
model
- freemarker.template.TemplateModelException
public static java.lang.Short converShort(freemarker.template.TemplateModel model) throws freemarker.template.TemplateModelException
model
- freemarker.template.TemplateModelException
public static java.lang.Long converLong(freemarker.template.TemplateModel model) throws freemarker.template.TemplateModelException
model
- freemarker.template.TemplateModelException
public static java.lang.Double converDouble(freemarker.template.TemplateModel model) throws freemarker.template.TemplateModelException
model
- freemarker.template.TemplateModelException
public static java.math.BigDecimal converBigDecimal(freemarker.template.TemplateModel model) throws freemarker.template.TemplateModelException
model
- freemarker.template.TemplateModelException
public static java.lang.String[] converStringArray(freemarker.template.TemplateModel model) throws freemarker.template.TemplateModelException
model
- freemarker.template.TemplateModelException
public static java.lang.Boolean converBoolean(freemarker.template.TemplateModel model) throws freemarker.template.TemplateModelException
model
- freemarker.template.TemplateModelException
public static java.util.Date converDate(freemarker.template.TemplateModel model) throws freemarker.template.TemplateModelException
model
- freemarker.template.TemplateModelException