au.com.bytecode.opencsv.bean
Interface MappingStrategy
- All Known Implementing Classes:
- ColumnPositionMappingStrategy, HeaderColumnNameMappingStrategy, HeaderColumnNameTranslateMappingStrategy
public interface MappingStrategy
Method Summary |
void |
captureHeader(CSVReader reader)
Implemention of this method can grab the header line before parsing begins to use to map columns
to bean properties. |
java.lang.Object |
createBean()
|
java.beans.PropertyDescriptor |
findDescriptor(int col)
Implementation will have to return a property descriptor from a bean based on the current column. |
findDescriptor
java.beans.PropertyDescriptor findDescriptor(int col)
throws java.beans.IntrospectionException
- Implementation will have to return a property descriptor from a bean based on the current column.
- Throws:
java.beans.IntrospectionException
createBean
java.lang.Object createBean()
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
captureHeader
void captureHeader(CSVReader reader)
throws java.io.IOException
- Implemention of this method can grab the header line before parsing begins to use to map columns
to bean properties.
- Throws:
java.io.IOException