|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Formattable
This interface must be implemented by any javac class that has non-trivial formatting needs (e.g. where toString() does not apply because of localization).
| Nested Class Summary | |
|---|---|
static class |
Formattable.LocalizedString
|
| Method Summary | |
|---|---|
java.lang.String |
getKind()
Retrieve a pretty name of this object's kind |
java.lang.String |
toString(java.util.Locale locale,
Messages messages)
Used to obtain a localized String representing the object accordingly to a given locale |
| Method Detail |
|---|
java.lang.String toString(java.util.Locale locale,
Messages messages)
locale - locale in which the object's representation is to be renderedmessages - messages object used for localization
java.lang.String getKind()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||