|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@StableMinor(version="6.1", sinceVersion="4.0") public interface IConverter
Converter interface defines the methods converters must implement.
Method Summary | ||
---|---|---|
|
convert(java.lang.Class<T> type,
java.lang.Object value)
Converts the specified input object into an output object of the specified type. |
|
|
convert(java.lang.Class<T> type,
java.lang.Object value,
java.util.Locale locale)
Converts the specified input object into an output object of the specified type. |
|
|
convert(java.lang.Class<T> type,
java.lang.Object value,
java.util.Locale locale,
java.lang.String pattern)
Converts the specified input object into an output object of the specified type. |
Method Detail |
---|
<T> T convert(java.lang.Class<T> type, java.lang.Object value, java.util.Locale locale, java.lang.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(java.lang.Class<T> type, java.lang.Object value, java.util.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(java.lang.Class<T> type, java.lang.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |