| Package | Description |
|---|---|
| org.sfm.csv |
CsvMapper classes to map object from a csv file. |
| org.sfm.jdbc |
JdbcMapper classes to map object from a csv file. |
| Modifier and Type | Method and Description |
|---|---|
static <T> CsvParser.MapToDSL<T> |
CsvParser.mapTo(TypeReference<T> type) |
<T> CsvParser.MapToDSL<T> |
CsvParser.DSL.mapTo(TypeReference<T> target) |
<T> CsvMapperBuilder<T> |
CsvMapperFactory.newBuilder(TypeReference<T> target) |
<T> CsvMapper<T> |
CsvMapperFactory.newMapper(TypeReference<T> target) |
| Modifier and Type | Method and Description |
|---|---|
<T> JdbcMapperBuilder<T> |
JdbcMapperFactory.newBuilder(TypeReference<T> target)
Will create a instance of JdbcMapperBuilder on the type T specified by the typeReference.
|
<T> JdbcMapper<T> |
JdbcMapperFactory.newMapper(TypeReference<T> target)
Will create a DynamicMapper on the type specified by the TypeReference.
|
DiscriminatorJdbcBuilder.DiscriminatorJdbcSubBuilder |
DiscriminatorJdbcBuilder.when(String value,
TypeReference<? extends T> type)
Add a discriminator value with its associated type specified by the type reference.
|
DiscriminatorJdbcBuilder.DiscriminatorJdbcSubBuilder |
DiscriminatorJdbcBuilder.DiscriminatorJdbcSubBuilder.when(String value,
TypeReference<? extends T> type)
Add a discriminator value with its associated type.
|
| Constructor and Description |
|---|
JdbcMapperBuilder(TypeReference<T> target)
Build a new JdbcMapperBuilder targeting the type specified by the TypeReference.
|
Copyright © 2015. All rights reserved.