public class CsvMapperBuilder extends java.lang.Object
Constructor and Description |
---|
CsvMapperBuilder(org.supercsv.prefs.CsvPreference csvPreference) |
Modifier and Type | Method and Description |
---|---|
CsvMapperBuilder |
add(CsvMapperBuilder.Column.Builder builder) |
CsvMapperBuilder |
addColumns(java.util.List<io.konik.csv.mapper.CsvMapperBuilder.Column> columns) |
org.dozer.DozerBeanMapper |
buildBeanMapper(java.lang.Class<?> destinationObjectClass) |
static CsvMapperBuilder.Column.Builder |
column(java.lang.String header) |
org.supercsv.io.dozer.CsvDozerBeanReader |
getBeanReader(java.io.File csvFile,
java.lang.Class<?> beanType) |
org.supercsv.cellprocessor.ift.CellProcessor[] |
getCellProcessors() |
java.lang.String[] |
getColumnNames() |
static org.supercsv.prefs.CsvPreference |
recognizeCsvPreference(java.io.File file) |
static CsvMapperBuilder |
withHeadersFromCsvFile(java.io.File csvFile,
ColumnsConfigurer columnsConfigurer) |
public CsvMapperBuilder(org.supercsv.prefs.CsvPreference csvPreference)
public CsvMapperBuilder add(CsvMapperBuilder.Column.Builder builder)
public CsvMapperBuilder addColumns(java.util.List<io.konik.csv.mapper.CsvMapperBuilder.Column> columns)
public org.dozer.DozerBeanMapper buildBeanMapper(java.lang.Class<?> destinationObjectClass)
public static CsvMapperBuilder.Column.Builder column(java.lang.String header)
public org.supercsv.io.dozer.CsvDozerBeanReader getBeanReader(java.io.File csvFile, java.lang.Class<?> beanType)
public org.supercsv.cellprocessor.ift.CellProcessor[] getCellProcessors()
public java.lang.String[] getColumnNames()
public static org.supercsv.prefs.CsvPreference recognizeCsvPreference(java.io.File file)
public static CsvMapperBuilder withHeadersFromCsvFile(java.io.File csvFile, ColumnsConfigurer columnsConfigurer)
Copyright © 2014-2018 Konik.io. All Rights Reserved.