|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Formatter<T>
A Formatter
formats an object to a string suitable for
output in a client application. The formatter may optionally also do
the reverse, ie. parse a string to an object.
Method Summary | |
---|---|
String |
format(T value)
Format a value by converting it to a string. |
T |
parseString(String value)
Parse a string and return a value of the correct type. |
Method Detail |
---|
String format(T value)
value
- The value to format
T parseString(String value)
value
- The string to parse
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |