@StableMinor(version="12.4", sinceVersion="4.0") public interface IConverter
Modifier and Type | Method and Description |
---|---|
<T> T |
convert(Class<T> type,
Object value)
Converts the specified input object into an output object of the
specified type.
|
<T> T |
convert(Class<T> type,
Object value,
Locale locale)
Converts the specified input object into an output object of the
specified type.
|
<T> T |
convert(Class<T> type,
Object value,
Locale locale,
String pattern)
Converts the specified input object into an output object of the
specified type.
|
<T> T convert(Class<T> type, Object value, Locale locale, String pattern)
T
- generics support for the data type specified.type
- data type to which the value should be converted.value
- the input value to be converted.locale
- locale to be used during conversion, if necessary.pattern
- converter specific conversion pattern, to be used during conversion, if necessary.<T> T convert(Class<T> type, Object value, Locale locale)
T
- generics support for the data type specified.type
- data type to which the value should be converted.value
- the input value to be converted.locale
- locale to be used during conversion<T> T convert(Class<T> type, Object value)
T
- generics support for the data type specified.type
- data type to which the value should be converted.value
- the input value to be converted.LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.