org.nuiton.util.csv
Class CsvModel<E>
java.lang.Object
org.nuiton.util.csv.CsvModel<E>
- All Implemented Interfaces:
- ExportModel<E>, ImportExportModel<E>, ImportModel<E>
public class CsvModel<E>
- extends Object
- implements ImportExportModel<E>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
separator
protected char separator
columnsForImport
protected Iterable<ImportableColumn<E,Object>> columnsForImport
columnsForExport
protected Iterable<ExportableColumn<E,Object>> columnsForExport
factory
protected CsvModel.Factory<E> factory
CsvModel
public CsvModel(char separator,
Iterable<ImportableColumn<E,Object>> columnsForImport,
Iterable<ExportableColumn<E,Object>> columnsForExport,
CsvModel.Factory<E> factory)
getSeparator
public char getSeparator()
- Specified by:
getSeparator in interface ExportModel<E>- Specified by:
getSeparator in interface ImportModel<E>
pushCsvHeaderNames
public void pushCsvHeaderNames(List<String> headerNames)
- Specified by:
pushCsvHeaderNames in interface ImportModel<E>
newEmptyInstance
public E newEmptyInstance()
- Specified by:
newEmptyInstance in interface ImportModel<E>
getColumnsForImport
public Iterable<ImportableColumn<E,Object>> getColumnsForImport()
- Specified by:
getColumnsForImport in interface ImportModel<E>
getColumnsForExport
public Iterable<ExportableColumn<E,Object>> getColumnsForExport()
- Specified by:
getColumnsForExport in interface ExportModel<E>
Copyright © 2011-2012 CodeLutin. All Rights Reserved.