|
Copyright © 2008-2011 Ralph Schuster. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TypeConversionHandler
A type conversion handler can take any string and convert it to an appropriate object and vice versa.
| Method Summary | |
|---|---|
java.lang.String[] |
getTypes()
Returns the types that this handler is responsible for. |
java.lang.Object |
toObject(java.lang.String s)
Converts the string (from stream) into corresponding object. |
java.lang.String |
toString(java.lang.Object o)
Converts an object into its string representation. |
| Method Detail |
|---|
java.lang.String[] getTypes()
java.lang.Object toObject(java.lang.String s)
s - string representation.
java.lang.String toString(java.lang.Object o)
o - Object to convert
|
Copyright © 2008-2011 Ralph Schuster. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||