java.lang.Object
org.simpleflatmapper.csv.CsvParser.MapWithDSL<T>
org.simpleflatmapper.csv.CsvParser.MapToDSL<T>
- Enclosing class:
CsvParser
DSL for csv mapping to a dynamic jdbcMapper.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMapping
(String column) addMapping
(String column, org.simpleflatmapper.map.property.FieldMapperColumnDefinition<CsvColumnKey> columnDefinition) columnDefinition
(String column, org.simpleflatmapper.map.mapper.ColumnDefinition<CsvColumnKey, ?> columnDefinition) columnDefinition
(org.simpleflatmapper.util.Predicate<? super CsvColumnKey> predicate, org.simpleflatmapper.map.mapper.ColumnDefinition<CsvColumnKey, ?> columnDefinition) columnProperty
(String column, Object property) columnProperty
(org.simpleflatmapper.util.Predicate<? super CsvColumnKey> predicate, Object property) Deprecated.overrideHeaders
(String... headers) Deprecated.
-
Constructor Details
-
MapToDSL
-
-
Method Details
-
headers
-
overrideHeaders
-
defaultHeaders
Deprecated.the name can be misleading. What it will do is assume the headers from the property of the mapped object. As there is no guarantee on the order those will be found it's an unstable way of doing things and should not be used. You should specify the headers manually using headers(...). -
overrideWithDefaultHeaders
Deprecated.the name can be misleading. What it will do is assume the headers from the property of the mapped object. As there is no guarantee on the order those will be found it's an unstable way of doing things and should not be used. You should specify the headers manually using overrideHeaders(...). -
columnDefinition
public CsvParser.MapToDSL<T> columnDefinition(String column, org.simpleflatmapper.map.mapper.ColumnDefinition<CsvColumnKey, ?> columnDefinition) -
columnDefinition
public CsvParser.MapToDSL<T> columnDefinition(org.simpleflatmapper.util.Predicate<? super CsvColumnKey> predicate, org.simpleflatmapper.map.mapper.ColumnDefinition<CsvColumnKey, ?> columnDefinition) -
columnProperty
-
columnProperty
public CsvParser.MapToDSL<T> columnProperty(org.simpleflatmapper.util.Predicate<? super CsvColumnKey> predicate, Object property) -
alias
-
addKeys
-
addMapping
-
addKey
-
addMapping
public CsvParser.StaticMapToDSL<T> addMapping(String column, org.simpleflatmapper.map.property.FieldMapperColumnDefinition<CsvColumnKey> columnDefinition)
-