Package | Description |
---|---|
com.univocity.parsers.annotations.helpers | |
com.univocity.parsers.common.processor.core | |
com.univocity.parsers.fixed |
Modifier and Type | Method and Description |
---|---|
static MethodFilter |
MethodFilter.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MethodFilter[] |
MethodFilter.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private static boolean |
AnnotationHelper.allFieldsIndexOrNameBased(boolean searchName,
java.lang.Class<?> beanClass,
MethodFilter filter) |
static java.lang.String[] |
AnnotationHelper.deriveHeaderNamesFromFields(java.lang.Class<?> beanClass,
MethodFilter filter)
Runs through all
Parsed annotations of a given class to identify all header names associated with its fields |
static java.util.List<java.lang.reflect.Method> |
AnnotationHelper.getAllMethods(java.lang.Class<?> beanClass,
MethodFilter filter)
Returns all methods available from a given class
|
static java.util.List<java.lang.reflect.Method> |
AnnotationHelper.getAnnotatedMethods(java.lang.Class<?> beanClass,
MethodFilter filter)
Returns all methods available from a given class that have an annotation.
|
static <A extends java.lang.annotation.Annotation> |
AnnotationHelper.getAnnotatedMethods(java.lang.Class<?> beanClass,
MethodFilter filter,
java.lang.Class<A> annotationType)
Returns all methods available from a given class that have a specific annotation.
|
static java.util.List<TransformedHeader> |
AnnotationHelper.getFieldSequence(java.lang.Class beanClass,
boolean processNested,
HeaderTransformer transformer,
MethodFilter filter)
Returns a list of fields with
Parsed annotations in the sequence they should be processed for parsing
or writing. |
private static java.util.List<TransformedHeader> |
AnnotationHelper.getFieldSequence(java.lang.Class beanClass,
boolean processNested,
java.util.List<java.lang.Integer> indexes,
HeaderTransformer transformer,
MethodFilter filter) |
static java.lang.Integer[] |
AnnotationHelper.getSelectedIndexes(java.lang.Class<?> beanClass,
MethodFilter filter)
Runs through all
Parsed annotations of a given class to identify all indexes associated with its fields |
private static void |
AnnotationHelper.processAnnotations(java.lang.reflect.AnnotatedElement element,
boolean processNested,
java.util.List<java.lang.Integer> indexes,
java.util.List<TransformedHeader> tmp,
java.util.Map<java.lang.reflect.AnnotatedElement,java.util.List<TransformedHeader>> nestedReplacements,
HeaderTransformer transformer,
MethodFilter filter) |
Modifier and Type | Field and Description |
---|---|
protected MethodFilter |
BeanConversionProcessor.methodFilter |
Constructor and Description |
---|
AbstractBeanProcessor(java.lang.Class<T> beanType,
MethodFilter methodFilter)
Creates a processor for java beans of a given type.
|
BeanConversionProcessor(java.lang.Class<T> beanType,
HeaderTransformer transformer,
MethodFilter methodFilter) |
BeanConversionProcessor(java.lang.Class<T> beanType,
MethodFilter methodFilter)
Initializes the BeanConversionProcessor with the annotated bean class
|
Constructor and Description |
---|
FixedWidthFields(java.lang.Class beanClass,
MethodFilter methodFilter)
Creates a new instance initialized from
FixedWidth annotations in the fields of a given class. |