Package com.helger.commons.typeconvert
-
Interface Summary Interface Description ITypeConverter<SRC,DST> Special interface that is used to convert between values of different types.ITypeConverterCallback A callback interface that is used in several places of the type conversion engine.ITypeConverterProvider Find the correct type converter provider from a source class to a destination class.ITypeConverterRegistrarSPI SPI interface to be implemented by other modules wishing to register their own type converters.ITypeConverterRegistry Callback interface for registering new type converters.ITypeConverterRule<SRC,DST> Flexible type converter that can handle multiple source and/or destination classes. -
Class Summary Class Description BaseTypeConverterRegistrar Register the base type converterCharsetTypeConverterRegistrar Register the locale specific type converterCollectionTypeConverterRegistrar Register the base type converterDateTimeTypeConverterRegistrar Register the date and time specific type converterIOTypeConverterRegistrar Register the IO specific type converterLocaleTypeConverterRegistrar Register the locale specific type converterMutableTypeConverterRegistrar Register the mutable* specific type converterTypeConverter Helper class for converting base types likes "boolean" to object types like "Boolean".
UsesTypeConverterRegistry.getFuzzyConverter(Class, Class)for retrieving a registered converter.TypeConverterProviderBestMatch An type converter provider that tries to provide an exact match before trying fuzzy matches.TypeConverterProviderExact An exact type converter provider.TypeConverterProviderFuzzy A fuzzy type converter provider.TypeConverterProviderRuleBased A rule based type converter provider.TypeConverterRegistry This class contains all the default type converters for the default types that are required. -
Enum Summary Enum Description ITypeConverterRule.ESubType Define the sub types of the rules.TypeConverterException.EReason -
Exception Summary Exception Description TypeConverterException Exceptions of this type are only thrown from theTypeConverterclass if type conversion fails.