org.beetl.core.Format Java Examples

The following examples show how to use org.beetl.core.Format. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AbstractGroupTemplateConfig.java    From beetl2.0 with BSD 3-Clause "New" or "Revised" License 2 votes vote down vote up
/**
 * 自定义类型默认格式化器
 *
 * @param typeFormats
 */
public void setTypeFormats(Map<Class<?>, Format> typeFormats)
{
	this.typeFormats = typeFormats;
}
 
Example #2
Source File: AbstractGroupTemplateConfig.java    From beetl2.0 with BSD 3-Clause "New" or "Revised" License 2 votes vote down vote up
/**
 * 自定义格式化器
 *
 * @param formats
 */
public void setFormats(Map<String, Format> formats)
{
	this.formats = formats;
}