public abstract class AbstractParser<T> extends java.lang.Object implements InputParser<T>
InputParser
implementations. It provides the
basic storage and getters for the alternate representation and result type
and utility code for constructing new result type implementation instances.Modifier and Type | Method and Description |
---|---|
AltFormat |
getAltFormat()
Returns the alternate representation format that is expected as input to
the parser.
|
java.lang.Class<? extends T> |
getResultType()
Returns the target type that is populated by the parser from the input
stream.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parse
public AltFormat getAltFormat()
InputParser
getAltFormat
in interface InputParser<T>
public java.lang.Class<? extends T> getResultType()
InputParser
getResultType
in interface InputParser<T>