void |
FuzzyMappingStrategy.captureHeader(CSVReader reader) |
|
void |
HeaderNameBaseMappingStrategy.captureHeader(CSVReader reader) |
|
void |
MappingStrategy.captureHeader(CSVReader reader) |
Implementation of this method can grab the header line before parsing
begins to use to map columns to bean properties.
|
protected java.lang.String |
AbstractBeanField.convertToWrite(java.lang.Object value) |
|
java.lang.String[] |
AbstractMappingStrategy.generateHeader(T bean) |
This method generates a header that can be used for writing beans of the
type provided back to a file.
|
java.lang.String[] |
ColumnPositionMappingStrategy.generateHeader(T bean) |
This method returns an empty array.
|
java.lang.String[] |
FieldMap.generateHeader(T bean) |
This method generates a header that can be used for writing beans of the
type provided back to a file.
|
java.lang.String[] |
FieldMapByName.generateHeader(T bean) |
This method generates a header that can be used for writing beans of the
type provided back to a file.
|
java.lang.String[] |
FieldMapByPosition.generateHeader(T bean) |
This method generates a header that can be used for writing beans of the
type provided back to a file.
|
java.lang.String[] |
MappingStrategy.generateHeader(T bean) |
Implementations of this method must return an array of column headers
based on the contents of the mapping strategy.
|
T |
AbstractMappingStrategy.populateNewBean(java.lang.String[] line) |
|
T |
MappingStrategy.populateNewBean(java.lang.String[] line) |
Takes a line of input from a CSV file and creates a bean out of it.
|
void |
AbstractBeanField.setFieldValue(java.lang.Object bean,
java.lang.String value,
java.lang.String header) |
|
protected void |
AbstractMappingStrategy.setFieldValue(java.util.Map<java.lang.Class<?>,java.lang.Object> beanTree,
java.lang.String value,
int column) |
Populates the field corresponding to the column position indicated of the
bean passed in according to the rules of the mapping strategy.
|
void |
BeanField.setFieldValue(java.lang.Object bean,
java.lang.String value,
java.lang.String header) |
Populates the selected field of the bean.
|
java.lang.String[] |
AbstractMappingStrategy.transmuteBean(T bean) |
|
java.lang.String[] |
MappingStrategy.transmuteBean(T bean) |
Transmutes a bean instance into an array of String s to be written
to a CSV file.
|
protected abstract void |
AbstractMappingStrategy.verifyLineLength(int numberOfFields) |
Must be called once the length of input for a line/record is known to
verify that the line was complete.
|
protected void |
ColumnPositionMappingStrategy.verifyLineLength(int numberOfFields) |
|
void |
HeaderNameBaseMappingStrategy.verifyLineLength(int numberOfFields) |
|
java.lang.String[] |
AbstractBeanField.write(java.lang.Object bean,
I index) |
This method takes the current value of the field in question in the bean
passed in and converts it to a string.
|
java.lang.String[] |
BeanField.write(java.lang.Object bean,
I index) |
This method takes the current value of the field in question in the bean
passed in and converts it to one or more strings.
|
void |
StatefulBeanToCsv.write(java.util.Iterator<T> iBeans) |
Writes an iterator of beans out to the Writer provided to the
constructor.
|
void |
StatefulBeanToCsv.write(java.util.List<T> beans) |
Writes a list of beans out to the Writer provided to the
constructor.
|
void |
StatefulBeanToCsv.write(java.util.stream.Stream<T> beans) |
Writes a stream of beans out to the Writer provided to the
constructor.
|
void |
StatefulBeanToCsv.write(T bean) |
Writes a bean out to the Writer provided to the
constructor.
|