|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - the type of object this formatter can formatpublic interface Formatter<T>
Formats objects of type T for display.
| Method Summary | |
|---|---|
String |
format(T object,
Locale locale)
Format the object of type T for display. |
T |
parse(String formatted,
Locale locale)
Parse an object from its formatted representation. |
| Method Detail |
|---|
String format(T object,
Locale locale)
object - the object to formatlocale - the user's locale
T parse(String formatted,
Locale locale)
throws ParseException
formatted - a formatted representationlocale - the user's locale
ParseException - when a parse exception occurs
RuntimeException - when thrown by coercion methods that are
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||