public final class NullLocalizable extends java.lang.Object implements Localizable
Localizable that wraps a non-localizable string.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
msg |
NOT_LOCALIZABLE| Constructor and Description |
|---|
NullLocalizable(java.lang.String msg) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
getArguments()
Returns the arguments for message formatting.
|
java.lang.String |
getKey()
Gets the key in the resource bundle.
|
java.lang.String |
getResourceBundleName() |
public java.lang.String getKey()
LocalizablegetKey in interface LocalizableLocalizable.NOT_LOCALIZABLE,
that means the message is not localizable, and
the first item of Localizable.getArguments() array
holds a String.public java.lang.Object[] getArguments()
LocalizablegetArguments in interface Localizablepublic java.lang.String getResourceBundleName()
getResourceBundleName in interface Localizable