public class ColumnPositionMappingStrategy extends HeaderColumnNameMappingStrategy
Constructor and Description |
---|
ColumnPositionMappingStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
captureHeader(CSVReader reader)
Implemention of this method can grab the header line before parsing begins to use to map columns
to bean properties.
|
String[] |
getColumnMapping() |
void |
setColumnMapping(String[] columnMapping) |
createBean, findDescriptor, getType, setType
public void captureHeader(CSVReader reader) throws IOException
MappingStrategy
captureHeader
in interface MappingStrategy
captureHeader
in class HeaderColumnNameMappingStrategy
IOException
public String[] getColumnMapping()
public void setColumnMapping(String[] columnMapping)
jHepWork 3.8 ©