org.tinygroup.format.impl
类 ContextFormater
java.lang.Object
org.tinygroup.format.impl.ContextFormater
- 所有已实现的接口:
- FormatProvider
public class ContextFormater
- extends Object
- implements FormatProvider
上下文格式化提供者
支持Bean的读法,即属下下去的方式
- 作者:
- luoguo
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextFormater
public ContextFormater()
format
public String format(Context context,
String string)
throws FormatException
- 从接口
FormatProvider 复制的描述
- 把指定的值进行处理后返回
- 指定者:
- 接口
FormatProvider 中的 format
string - 要进行格式化的值
- 返回:
- 格式化好的值
- 抛出:
FormatException
Copyright © 2006–2013 开源组织. All rights reserved.