liquibase.util.csv.opencsv.bean
Interface MappingStrategy
- All Known Implementing Classes:
- ColumnPositionMappingStrategy, HeaderColumnNameMappingStrategy, HeaderColumnNameTranslateMappingStrategy
public interface MappingStrategy
findDescriptor
PropertyDescriptor findDescriptor(int col)
throws IntrospectionException
- Implementation will have to return a property descriptor from a bean based on the current column.
- Throws:
IntrospectionException
createBean
Object createBean()
throws InstantiationException,
IllegalAccessException
- Throws:
InstantiationException
IllegalAccessException
captureHeader
void captureHeader(CSVReader reader)
throws IOException
- Implemention of this method can grab the header line before parsing begins to use to map columns
to bean properties.
- Throws:
IOException
Copyright © 2012 Liquibase.org. All Rights Reserved.