Package | Description |
---|---|
org.fastnate.data.properties |
Modifier and Type | Class and Description |
---|---|
class |
BooleanConverter
Converts a string in an import file to a
Boolean . |
class |
CharacterConverter
Converts a string from an import file to a
Character . |
class |
DateConverter<D extends Date>
Converts a string in an import file file to a date.
|
class |
DefaultEntityConverter
Uses the
EntityRegistration to resolve entities by their unique property. |
class |
EnumConverter
Converts a string in an import file to an
Enum value. |
class |
FormatConverter<T>
Converts a string from an import file to a Java object using a list of
Format s. |
class |
MapConverter<K,T>
Converts a string from an import file to an object by using an explicit mapping.
|
class |
NumberConverter
Converts a string from an import file to a number.
|
class |
UniquePropertyEntityConverter
Uses the
EntityRegistration to resolve entities by a specific unique property. |
Modifier and Type | Field and Description |
---|---|
private Map<Class<?>,PropertyConverter<?>> |
PropertyDataImporter.converters
The converters to use as default for specific property classes.
|
private static Map<Class<?>,PropertyConverter<?>> |
PropertyDataImporter.DEFAULT_CONVERTERS
The default list of known converters for each class.
|
Modifier and Type | Method and Description |
---|---|
protected <T> PropertyConverter<T> |
PropertyDataImporter.findConverter(Class<T> propertyClass)
Finds the converter for the given type.
|
static <T> PropertyConverter<T> |
PropertyConverter.of(Function<String,T> converter)
Converts a function to a PropertyConverter.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
PropertyDataImporter.addConverter(Class<T> type,
PropertyConverter<T> converter)
Registers the converter to use for a specific type.
|
Copyright © 2022 fastnate.org. All rights reserved.