au.com.bytecode.opencsv.bean
Class CsvToBean<T>

java.lang.Object
  extended by au.com.bytecode.opencsv.bean.CsvToBean<T>

public class CsvToBean<T>
extends Object


Constructor Summary
CsvToBean()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsvToBean

public CsvToBean()
Method Detail

parse

public List<T> parse(MappingStrategy<T> mapper,
                     Reader reader)

parse

public List<T> parse(MappingStrategy<T> mapper,
                     CSVReader csv)

processLine

protected T processLine(MappingStrategy<T> mapper,
                        String[] line)
                 throws IllegalAccessException,
                        InvocationTargetException,
                        InstantiationException,
                        IntrospectionException
Throws:
IllegalAccessException
InvocationTargetException
InstantiationException
IntrospectionException

convertValue

protected Object convertValue(String value,
                              PropertyDescriptor prop)
                       throws InstantiationException,
                              IllegalAccessException
Throws:
InstantiationException
IllegalAccessException

getPropertyEditor

protected PropertyEditor getPropertyEditor(PropertyDescriptor desc)
                                    throws InstantiationException,
                                           IllegalAccessException
Throws:
InstantiationException
IllegalAccessException


Copyright © 2012. All Rights Reserved.