public class CsvToBean<T> extends Object
Constructor and Description |
---|
CsvToBean() |
Modifier and Type | Method and Description |
---|---|
protected Object |
convertValue(String value,
PropertyDescriptor prop) |
protected PropertyEditor |
getPropertyEditor(PropertyDescriptor desc) |
List<T> |
parse(MappingStrategy<T> mapper,
CSVReader csv) |
List<T> |
parse(MappingStrategy<T> mapper,
Reader reader) |
protected T |
processLine(MappingStrategy<T> mapper,
String[] line) |
public List<T> parse(MappingStrategy<T> mapper, Reader reader)
public List<T> parse(MappingStrategy<T> mapper, CSVReader csv)
protected T processLine(MappingStrategy<T> mapper, String[] line) throws IllegalAccessException, InvocationTargetException, InstantiationException, IntrospectionException
protected Object convertValue(String value, PropertyDescriptor prop) throws InstantiationException, IllegalAccessException
protected PropertyEditor getPropertyEditor(PropertyDescriptor desc) throws InstantiationException, IllegalAccessException
Copyright © 2019. All rights reserved.