| Package | Description |
|---|---|
| com.helger.commons.typeconvert |
| Modifier and Type | Class and Description |
|---|---|
class |
TypeConverterProviderBestMatch
An type converter provider that tries to provide an exact match before trying
fuzzy matches.
|
class |
TypeConverterProviderExact
An exact type converter provider.
|
class |
TypeConverterProviderFuzzy
A fuzzy type converter provider.
|
class |
TypeConverterProviderRuleBased
A rule based type converter provider.
|
| Modifier and Type | Method and Description |
|---|---|
static <DSTTYPE> DSTTYPE |
TypeConverter.convert(ITypeConverterProvider aTypeConverterProvider,
Object aSrcValue,
Class<DSTTYPE> aDstClass)
Convert the passed source value to the destination class, if a conversion
is necessary.
|
static <DSTTYPE> DSTTYPE |
TypeConverter.convert(ITypeConverterProvider aTypeConverterProvider,
Object aSrcValue,
Class<DSTTYPE> aDstClass)
Convert the passed source value to the destination class, if a conversion
is necessary.
|
static <DSTTYPE> DSTTYPE |
TypeConverter.convert(ITypeConverterProvider aTypeConverterProvider,
Object aSrcValue,
Class<DSTTYPE> aDstClass,
DSTTYPE aDefault)
Convert the passed source value to the destination class, if a conversion
is necessary.
|
static <DSTTYPE> DSTTYPE |
TypeConverter.convert(ITypeConverterProvider aTypeConverterProvider,
Object aSrcValue,
Class<DSTTYPE> aDstClass,
DSTTYPE aDefault)
Convert the passed source value to the destination class, if a conversion
is necessary.
|
Copyright © 2014–2022 Philip Helger. All rights reserved.