| Package | Description |
|---|---|
| org.sfm.csv |
CsvMapper classes to map object from a csv file. |
| org.sfm.csv.impl |
CsvMapper implementation. |
| org.sfm.reflect.asm |
Asm generation.
|
| Modifier and Type | Method and Description |
|---|---|
CsvColumnKey |
CsvColumnKey.alias(String name) |
CsvColumnKey |
CsvColumnKey.getParent() |
| Modifier and Type | Method and Description |
|---|---|
CsvMapperBuilder<T> |
CsvMapperBuilder.addMapping(CsvColumnKey key,
CsvColumnDefinition columnDefinition) |
| Modifier and Type | Method and Description |
|---|---|
CsvMapperFactory |
CsvMapperFactory.addColumnDefinition(Predicate<? super CsvColumnKey> predicate,
CsvColumnDefinition columnDefinition) |
CsvParser.MapToDSL<T> |
CsvParser.MapToDSL.columnDefinition(Predicate<? super CsvColumnKey> predicate,
CsvColumnDefinition columnDefinition) |
CsvMapperBuilder<T> |
CsvMapperBuilder.fieldMapperErrorHandler(FieldMapperErrorHandler<CsvColumnKey> errorHandler) |
CsvMapperFactory |
CsvMapperFactory.fieldMapperErrorHandler(FieldMapperErrorHandler<CsvColumnKey> fieldMapperErrorHandler)
Set a new FieldMapperErrorHandler.
|
| Constructor and Description |
|---|
CsvColumnKey(String name,
int index,
CsvColumnKey parent) |
| Constructor and Description |
|---|
CsvMapperBuilder(Type target,
ClassMeta<T> classMeta,
ColumnDefinitionProvider<CsvColumnDefinition,CsvColumnKey> columnDefinitionProvider) |
CsvMapperBuilder(Type target,
ClassMeta<T> classMeta,
MapperBuilderErrorHandler mapperBuilderErrorHandler,
ColumnDefinitionProvider<CsvColumnDefinition,CsvColumnKey> columnDefinitions,
PropertyNameMatcherFactory propertyNameMatcherFactory,
CellValueReaderFactory cellValueReaderFactory,
int minDelayedSetter,
boolean failOnAsm,
int asmMapperNbFieldsLimit,
int maxMethodSize) |
| Modifier and Type | Field and Description |
|---|---|
protected CsvColumnKey[] |
CsvMapperCellHandler.columns |
protected CsvColumnKey[] |
CsvMapperCellHandlerFactory.keys |
| Modifier and Type | Field and Description |
|---|---|
protected FieldMapperErrorHandler<CsvColumnKey> |
CsvMapperCellHandler.fieldErrorHandler |
protected FieldMapperErrorHandler<CsvColumnKey> |
CsvMapperCellHandlerFactory.fieldErrorHandler |
| Modifier and Type | Method and Description |
|---|---|
List<Tuple2<Predicate<? super CsvColumnKey>,CsvColumnDefinition>> |
CsvColumnDefinitionProviderImpl.getDefinitions() |
| Modifier and Type | Method and Description |
|---|---|
CsvColumnDefinition |
IdentityCsvColumnDefinitionProvider.getColumnDefinition(CsvColumnKey key) |
<T,P> Getter<CsvMapperCellHandler<T>,P> |
CellSetterFactory.newDelayedGetter(CsvColumnKey key,
Type type) |
abstract Object |
CsvMapperCellHandler.peekDelayedCellSetterValue(CsvColumnKey key) |
Object |
CsvMapperCellHandlerImpl.peekDelayedCellSetterValue(CsvColumnKey key) |
| Modifier and Type | Method and Description |
|---|---|
<T> CsvMapperCellHandlerFactory<T> |
AsmFactory.createCsvMapperCellHandler(Type target,
DelayedCellSetterFactory<T,?>[] delayedCellSetterFactories,
CellSetter<T>[] setters,
Instantiator<CsvMapperCellHandler<T>,T> instantiator,
CsvColumnKey[] keys,
ParsingContextFactory parsingContextFactory,
FieldMapperErrorHandler<CsvColumnKey> fieldErrorHandler,
int maxMethodSize) |
| Modifier and Type | Method and Description |
|---|---|
<T> CsvMapperCellHandlerFactory<T> |
AsmFactory.createCsvMapperCellHandler(Type target,
DelayedCellSetterFactory<T,?>[] delayedCellSetterFactories,
CellSetter<T>[] setters,
Instantiator<CsvMapperCellHandler<T>,T> instantiator,
CsvColumnKey[] keys,
ParsingContextFactory parsingContextFactory,
FieldMapperErrorHandler<CsvColumnKey> fieldErrorHandler,
int maxMethodSize) |
| Constructor and Description |
|---|
CsvMapperKey(CsvColumnKey[] keys,
CellSetter<T>[] setters,
DelayedCellSetterFactory<T,?>[] delayedCellSetterFactories,
Instantiator<CsvMapperCellHandler<T>,T> instantiator,
Type target,
FieldMapperErrorHandler<CsvColumnKey> fieldErrorHandler,
int maxMethodSize) |
| Constructor and Description |
|---|
CsvMapperKey(CsvColumnKey[] keys,
CellSetter<T>[] setters,
DelayedCellSetterFactory<T,?>[] delayedCellSetterFactories,
Instantiator<CsvMapperCellHandler<T>,T> instantiator,
Type target,
FieldMapperErrorHandler<CsvColumnKey> fieldErrorHandler,
int maxMethodSize) |
Copyright © 2015. All rights reserved.