public interface MappingStrategy<T>
| Modifier and Type | Method and Description |
|---|---|
void |
captureHeader(au.com.bytecode.opencsv.CSVReader reader)
Implementation of this method can grab the header line before parsing begins to use to map columns
to bean properties.
|
T |
createBean() |
PropertyDescriptor |
findDescriptor(int col)
Implementation will have to return a property descriptor from a bean based on the current column.
|
PropertyDescriptor findDescriptor(int col) throws IntrospectionException
col - the column to find the description forIntrospectionExceptionT createBean() throws InstantiationException, IllegalAccessException
void captureHeader(au.com.bytecode.opencsv.CSVReader reader)
throws IOException
reader - the CSVReader to use for header parsingIOException - if parsing failsDMelt 2.0 © DataMelt by jWork.ORG