Module org.simpleflatmapper.csv
Package org.simpleflatmapper.csv
Class CsvWriter.DefaultCsvWriterDSL<T>
java.lang.Object
org.simpleflatmapper.csv.CsvWriter.CsvWriterDSL<T>
org.simpleflatmapper.csv.CsvWriter.DefaultCsvWriterDSL<T>
-
Field Summary
Fields inherited from class org.simpleflatmapper.csv.CsvWriter.CsvWriterDSL
cellWriter, classMeta, columns, mapper, mapperConfig, skipHeaders -
Method Summary
Modifier and TypeMethodDescriptionCreate a new DSL object identical to the current one but with the specified property instead of the default ones.Create a new DSL object identical to the current one but with the specified columns instead of the default ones.protected CsvWriter.CsvWriterDSL<T>newCsvWriterDSL(CsvWriter.Column[] columns, org.simpleflatmapper.lightningcsv.CellWriter cellWriter, org.simpleflatmapper.map.mapper.ContextualSourceFieldMapperImpl<T, Appendable> mapper, org.simpleflatmapper.reflect.meta.ClassMeta<T> classMeta, org.simpleflatmapper.map.MapperConfig<CsvColumnKey, ?> mapperConfig, boolean skipHeaders) Methods inherited from class org.simpleflatmapper.csv.CsvWriter.CsvWriterDSL
alwaysEscape, cellWriter, classMeta, column, endOfLine, escape, mapperConfig, mapperConfig, newColumnMapDSL, newMapDSL, quote, separator, skipHeaders, to
-
Method Details
-
columns
Create a new DSL object identical to the current one but with the specified columns instead of the default ones.- Overrides:
columnsin classCsvWriter.CsvWriterDSL<T>- Parameters:
columnNames- the list of property names- Returns:
- the new DSL
-
column
Create a new DSL object identical to the current one but with the specified property instead of the default ones.- Overrides:
columnin classCsvWriter.CsvWriterDSL<T>- Parameters:
column- the property nameproperty- the property properties- Returns:
- the new DSL
-
newCsvWriterDSL
protected CsvWriter.CsvWriterDSL<T> newCsvWriterDSL(CsvWriter.Column[] columns, org.simpleflatmapper.lightningcsv.CellWriter cellWriter, org.simpleflatmapper.map.mapper.ContextualSourceFieldMapperImpl<T, Appendable> mapper, org.simpleflatmapper.reflect.meta.ClassMeta<T> classMeta, org.simpleflatmapper.map.MapperConfig<CsvColumnKey, ?> mapperConfig, boolean skipHeaders) - Overrides:
newCsvWriterDSLin classCsvWriter.CsvWriterDSL<T>
-