public class HeaderColumnNameMappingStrategy extends Object implements MappingStrategy
| Constructor and Description |
|---|
HeaderColumnNameMappingStrategy() |
| 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.
|
Object |
createBean() |
PropertyDescriptor |
findDescriptor(int col)
Implementation will have to return a property descriptor from a bean based on the current column.
|
Class |
getType() |
void |
setType(Class type) |
public void captureHeader(CSVReader reader) throws IOException
MappingStrategycaptureHeader in interface MappingStrategyIOExceptionpublic PropertyDescriptor findDescriptor(int col) throws IntrospectionException
MappingStrategyfindDescriptor in interface MappingStrategyIntrospectionExceptionpublic Object createBean() throws InstantiationException, IllegalAccessException
createBean in interface MappingStrategyInstantiationExceptionIllegalAccessExceptionpublic Class getType()
public void setType(Class type)
jHepWork 3.8 ©