|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.millscript.Resources
public final class Resources
This class is intended to handle internationalisation for any messages MillScript produces.
| Method Summary | |
|---|---|
static java.lang.String |
getFormattedMessage(java.lang.String key,
java.lang.Object arg)
Returns the localised message for the specified key, formatted using the single specified argument. |
static java.lang.String |
getFormattedMessage(java.lang.String key,
java.lang.Object[] args)
Returns the localised message for the specified key, formatted using the specified arguments. |
static java.lang.String |
getMessage(java.lang.String key)
Returns the localised message for the specified key. |
| 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 getMessage(java.lang.String key)
key - the key for the desired message
public static java.lang.String getFormattedMessage(java.lang.String key,
java.lang.Object[] args)
key - the key for the desired messageargs - the arguments required to format the message
public static java.lang.String getFormattedMessage(java.lang.String key,
java.lang.Object arg)
key - the key for the desired messagearg - the single argument required to format the message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||