|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.wildcat.util.Messages
public final class Messages
Helper class to handle logging messages.
| Method Summary | |
|---|---|
static void |
init(java.lang.String resource)
Initialize the formatter of messages. |
static java.lang.String |
message(java.lang.String key,
java.lang.Object... args)
Formats a message referenced by key with its arguments. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void init(java.lang.String resource)
resource - a filename to load the configuration
public static java.lang.String message(java.lang.String key,
java.lang.Object... args)
key - reference of the messageargs - optional arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||