|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--koala.dynamicjava.util.LocalizedMessageReader
The instances of this class read localized messages in resource files. The messages in the file are templates. Context specific strings are inserted where '%n' patterns can be found. A '%' character is represented with '%%'.
| Constructor Summary | |
LocalizedMessageReader(java.lang.String name)
Creates a new message reader |
|
| Method Summary | |
java.lang.String |
getMessage(java.lang.String key,
java.lang.String[] strings)
Gets a message |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LocalizedMessageReader(java.lang.String name)
name - the name of the resource| Method Detail |
public java.lang.String getMessage(java.lang.String key,
java.lang.String[] strings)
key - the message keystrings - the strings to insert in the message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||