|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Converter
Method Summary | |
---|---|
boolean |
accept(java.lang.Class clazz)
Return true if the converter accepts the class for conversion. |
java.lang.Object |
toObject(java.lang.String value)
String to object conversion. |
java.lang.String |
toString(java.lang.Object value)
Convert the object to the stored value. |
Method Detail |
---|
boolean accept(java.lang.Class clazz)
java.lang.IllegalArgumentException
- if the class object is nulljava.lang.Object toObject(java.lang.String value) throws NullConversionException, FormatConversionException
NullConversionException
- if the value nullity prevent the conversion
FormatConversionException
- if the value cannot be convertedjava.lang.String toString(java.lang.Object value) throws NullConversionException, FormatConversionException
NullConversionException
- if the value nullity prevent the conversion
FormatConversionException
- if the value cannot be converted
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |