|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.kerrybuckley.cctrayicon.MessageUtils
Utility class to look up and return message strings from the messages file for the current locale.
Method Summary | |
static java.lang.String |
getString(java.lang.String key)
Return the message corresponding to the supplied key. |
static java.lang.String |
getString(java.lang.String key,
java.lang.Object[] arguments)
Return the message corresponding to the supplied key, substituting the supplied parameters. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.String getString(java.lang.String key)
key
- the message key
public static java.lang.String getString(java.lang.String key, java.lang.Object[] arguments)
key
- the message keyarguments
- an array of objects to be substituted into {0}, {1} etc in the
message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |