|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Converter<T>
An interface for an object which converts between values of a specified type and strings.
Method Summary | |
---|---|
java.lang.Class<T> |
getType()
Gets the type of the values converted by this converter. |
java.lang.String |
getTypeDescription()
Gets a description of the type of the values converted by this converter. |
java.lang.String |
toString(T value,
java.lang.Class<? extends T> type)
Converts a value to a string. |
T |
toValue(java.lang.String string,
java.lang.Class<? extends T> type)
Converts a string to a value. |
Method Detail |
---|
java.lang.Class<T> getType()
java.lang.String getTypeDescription()
T toValue(java.lang.String string, java.lang.Class<? extends T> type) throws java.lang.Exception
java.lang.Exception
java.lang.String toString(T value, java.lang.Class<? extends T> type) throws java.lang.Exception
java.lang.Exception
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |