|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectConverter
An interface that can convert a object to a String and convert from String to object.
Method Summary | |
---|---|
Object |
fromString(String string,
ConverterContext context)
Converts from String to an object. |
boolean |
supportFromString(String string,
ConverterContext context)
If it supports fromString. |
boolean |
supportToString(Object object,
ConverterContext context)
If it supports toString method. |
String |
toString(Object object,
ConverterContext context)
Converts from object to String based on current locale. |
Method Detail |
---|
String toString(Object object, ConverterContext context)
object
- object to be convertedcontext
- converter context to be used
boolean supportToString(Object object, ConverterContext context)
object
- object to be convertedcontext
- converter context to be used
Object fromString(String string, ConverterContext context)
string
- the stringcontext
- context to be converted
boolean supportFromString(String string, ConverterContext context)
string
- the stringcontext
- context to be converted
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |