|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.dandelion.datatables.core.i18n.DefaultMessages
public final class DefaultMessages
Helper class for message bundle access.
| Method Summary | |
|---|---|
static String |
getString(String key)
Returns a message from the resource bundle. |
static String |
getString(String key,
Object parameter)
Reads a message from the resource bundle and format it using java MessageFormat. |
static String |
getString(String key,
Object[] parameters)
Reads a message from the resource bundle and format it using java MessageFormat. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String getString(String key)
key - Message key.
public static String getString(String key,
Object[] parameters)
key - Message key.parameters - Parameters to pass to MessageFormat.format()
public static String getString(String key,
Object parameter)
key - Message key.parameter - single parameter to pass to MessageFormat.format()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||