|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITypeConverter
Interface for types conversion
| Method Summary | ||
|---|---|---|
|
convert(java.lang.Object value,
java.lang.Class<T> type)
Convert the given input value to the specified target type. |
|
boolean |
isConvertible(java.lang.Class<?> sourceType,
java.lang.Class<?> targetType)
Determines whether the source type can be converted to the target type. |
|
| Method Detail |
|---|
boolean isConvertible(java.lang.Class<?> sourceType,
java.lang.Class<?> targetType)
sourceType - The source type which should be convertedtargetType - The targeted type by the conversion
<T> T convert(java.lang.Object value,
java.lang.Class<T> type)
throws java.lang.Exception
T - type The targeted type of the conversionvalue - The given input value which
should be converted
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||