protected void |
AbstractBeanField.assignValueToField(java.lang.Object bean,
java.lang.Object obj,
java.lang.String header) |
Assigns the given object to this field of the destination bean.
|
protected void |
BeanFieldJoin.assignValueToField(java.lang.Object bean,
java.lang.Object obj,
java.lang.String header) |
Assigns the value given to the proper field of the bean given.
|
protected abstract java.lang.Object |
AbstractBeanField.convert(java.lang.String value) |
Method for converting from a string to the proper datatype of the
destination field.
|
protected java.lang.Object |
BeanFieldSingleValue.convert(java.lang.String value) |
Passes the string to be converted to the converter.
|
protected java.lang.Object |
BeanFieldSplit.convert(java.lang.String value) |
This method manages the collection being created as well as splitting the
data.
|
java.lang.Object |
ConverterDate.convertToRead(java.lang.String value) |
|
java.lang.Object |
ConverterNumber.convertToRead(java.lang.String value) |
|
java.lang.Object |
ConverterPrimitiveTypes.convertToRead(java.lang.String value) |
|
java.lang.Object |
CsvConverter.convertToRead(java.lang.String value) |
Method for converting from a string to the proper data type of the
destination field.
|
protected java.lang.String |
AbstractBeanField.convertToWrite(java.lang.Object value) |
|
java.lang.String |
AbstractCsvConverter.convertToWrite(java.lang.Object value) |
This implementation simply calls toString() on value .
|
protected java.lang.String |
BeanFieldSingleValue.convertToWrite(java.lang.Object value) |
Passes the object to be converted to the converter.
|
protected java.lang.String |
BeanFieldSplit.convertToWrite(java.lang.Object value) |
Manages converting a collection of values into a single string.
|
java.lang.String |
ConverterDate.convertToWrite(java.lang.Object value) |
This method converts the encapsulated date type to a string, respecting
any locales and conversion patterns that have been set through opencsv
annotations.
|
java.lang.String |
ConverterPrimitiveTypes.convertToWrite(java.lang.Object value) |
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 |
CsvConverter.convertToWrite(java.lang.Object value) |
Method for converting from the data type of the destination field to a
string.
|
java.lang.Object[] |
AbstractBeanField.indexAndSplitMultivaluedField(java.lang.Object value,
I index) |
|
java.lang.Object[] |
BeanField.indexAndSplitMultivaluedField(java.lang.Object value,
I index) |
Given the value of a bean field and an index into that value, determine
what values need to be written.
|
java.lang.Object[] |
BeanFieldJoin.indexAndSplitMultivaluedField(java.lang.Object value,
I index) |
|
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.
|
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.
|