|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectolg.csv.bean.annotations.processor.ParserProcessor
public final class ParserProcessor
This class is responsible for processing the @Parser annotation.
| Method Summary | ||
|---|---|---|
static ParserProcessor |
getInstance()
The singleton instance. |
|
|
getParser(Field field,
Class<T> fieldConcreteClass)
Return the parser to use on a field. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ParserProcessor getInstance()
public <T> AbstractParser<T> getParser(Field field,
Class<T> fieldConcreteClass)
throws AnnotationProcessorException
T - the type the parser must returnfield - the fieldfieldConcreteClass - the concrete class from which instanciate the field values.
AnnotationProcessorException - if an error occurs during annotation reading or if no parser
has been found.AbstractParser.identifyDefaultParser(Class)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||