|
CLRA 0.1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.clra.web.Text
A thin wrapper around the Jakarta MessageResources class. This saves very GUI class from having to reproduce the same code.
| Method Summary | |
static String |
getMessage(String key)
Returns a text message for the specified key, for the default Locale. |
static String |
getMessage(String key,
Object arg0)
Returns a text message after parametric replacement of the specified parameter placeholders. |
static String |
getMessage(String key,
Object[] args)
Returns a text message after parametric replacement of the specified parameter placeholders. |
static String |
getMessage(String key,
Object arg0,
Object arg1)
Returns a text message after parametric replacement of the specified parameter placeholders. |
static String |
getMessage(String key,
Object arg0,
Object arg1,
Object arg2)
Returns a text message after parametric replacement of the specified parameter placeholders. |
static String |
getMessage(String key,
Object arg0,
Object arg1,
Object arg2,
Object arg3)
Returns a text message after parametric replacement of the specified parameter placeholders. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static String getMessage(String key)
key - The message key to look up
public static String getMessage(String key,
Object[] args)
key - The message key to look upargs - An array of replacement parameters for placeholders
public static String getMessage(String key,
Object arg0)
key - The message key to look uparg0 - The replacement for placeholder {0} in the message
public static String getMessage(String key,
Object arg0,
Object arg1)
key - The message key to look uparg0 - The replacement for placeholder {0} in the messagearg1 - The replacement for placeholder {1} in the message
public static String getMessage(String key,
Object arg0,
Object arg1,
Object arg2)
key - The message key to look uparg0 - The replacement for placeholder {0} in the messagearg1 - The replacement for placeholder {1} in the messagearg2 - The replacement for placeholder {2} in the message
public static String getMessage(String key,
Object arg0,
Object arg1,
Object arg2,
Object arg3)
key - The message key to look uparg0 - The replacement for placeholder {0} in the messagearg1 - The replacement for placeholder {1} in the messagearg2 - The replacement for placeholder {2} in the messagearg3 - The replacement for placeholder {3} in the message
|
CLRA 0.1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||