public final class ResourceHelper extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBundleName()
Return the resource bundle name.
|
java.lang.String |
getMessage(java.lang.String key)
Returns the message for the specified key.
|
java.lang.String |
getMessage(java.lang.String key,
java.lang.Object value)
Returns the message for the specified key and argument.
|
java.lang.String |
getMessage(java.lang.String key,
java.lang.Object[] values)
Returns the message for the specified key and arguments.
|
java.lang.String |
getMessage(java.lang.String key,
java.lang.Object value1,
java.lang.Object value2)
Returns the message for the specified key and arguments.
|
java.lang.String |
getMessage(java.lang.String key,
java.lang.Object value1,
java.lang.Object value2,
java.lang.Object value3)
Returns the message for the specified key and arguments.
|
static ResourceHelper |
getResourceHelper()
Gets the ResourceHelper appropriate to the specified class.
|
public java.lang.String getBundleName()
public static ResourceHelper getResourceHelper()
public java.lang.String getMessage(java.lang.String key)
key - the unique identifier of the messagepublic java.lang.String getMessage(java.lang.String key, java.lang.Object value)
key - the unique identifier of the messagevalue - the argument valuepublic java.lang.String getMessage(java.lang.String key, java.lang.Object value1, java.lang.Object value2)
key - the unique identifier of the messagevalue1 - an argument valuevalue2 - an argument valuepublic java.lang.String getMessage(java.lang.String key, java.lang.Object value1, java.lang.Object value2, java.lang.Object value3)
key - the unique identifier of the messagevalue1 - an argument valuevalue2 - an argument valuevalue3 - an argument valuepublic java.lang.String getMessage(java.lang.String key, java.lang.Object[] values)
key - the unique identifier of the messagevalues - argument values