G - 解析后的目标类型描述信息public abstract class AbstractParser<G extends cn.featherfly.common.lang.reflect.Type<?>> extends java.lang.Object implements Parser
AbstractParser
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.slf4j.Logger |
logger
日志
|
| 构造器和说明 |
|---|
AbstractParser() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract <T> T |
doParse(java.lang.String content,
G to)
解析传入的字符串
|
<TO extends cn.featherfly.common.lang.reflect.Type<T>,T> |
parse(java.lang.String content,
TO to)
解析传入的字符串
|
protected abstract boolean |
supportFor(cn.featherfly.common.lang.reflect.Type<?> to)
是否提供对传入类型的支持
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProtocolprotected abstract boolean supportFor(cn.featherfly.common.lang.reflect.Type<?> to)
是否提供对传入类型的支持
to - toprotected abstract <T> T doParse(java.lang.String content,
G to)
解析传入的字符串
T - 返回类型content - 需要解析的内容to - 解析的目标类型描述信息