public class MessageFormatter
extends java.lang.Object
Constructor and Description |
---|
MessageFormatter(java.lang.String bundleName)
Instantiates a new message formatter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(BundleKey key,
java.lang.Object... args)
Format.
|
public MessageFormatter(java.lang.String bundleName)
bundleName
- the bundle namepublic java.lang.String format(BundleKey key, java.lang.Object... args)
key
- the keyargs
- the args