G - 解析的目标类型描述public class ClassParser<G extends cn.featherfly.common.lang.reflect.Type<?>> extends AbstractIterableParser<G>
class类协议解析器
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
PROTOCOL
协议字符串常量
|
logger| 构造器和说明 |
|---|
ClassParser() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected <T> T |
doParseContent(java.lang.String content,
G to)
解析传入的字符串
|
java.lang.String |
getProtocol()
获取解析器的协议
|
protected boolean |
supportFor(cn.featherfly.common.lang.reflect.Type<?> to)
是否提供对传入类型的支持
|
doParse, isMultyTypeparsepublic static final java.lang.String PROTOCOL
protected <T> T doParseContent(java.lang.String content,
G to)
解析传入的字符串
doParseContent 在类中 AbstractIterableParser<G extends cn.featherfly.common.lang.reflect.Type<?>>T - 返回类型content - 需要解析的内容to - 解析的目标类型描述protected boolean supportFor(cn.featherfly.common.lang.reflect.Type<?> to)
是否提供对传入类型的支持
supportFor 在类中 AbstractParser<G extends cn.featherfly.common.lang.reflect.Type<?>>to - topublic java.lang.String getProtocol()
获取解析器的协议