org.milyn.csv.prog
Class CSVListBinder
java.lang.Object
org.milyn.csv.prog.CSVListBinder
public class CSVListBinder
- extends Object
CSV List Binder class.
Simple CSV to Object List binding class.
Exmaple usage:
public class PeopleBinder {
// Create and cache the binder instance..
private CSVListBinder binder = new CSVListBinder("firstname,lastname,gender,age,country", Person.class);
public List<Person> bind(Reader csvStream) {
return binder.bind(csvStream);
}
}
- Author:
- tom.fennelly@jboss.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSVListBinder
public CSVListBinder(String fields,
Class recordType)
bind
public List bind(Reader csvStream)
bind
public List bind(InputStream csvStream)
Copyright © 2014. All Rights Reserved.