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()
Localizable
getKey
in interface Localizable
Localizable.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()
Localizable
getArguments
in interface Localizable
public java.lang.String getResourceBundleName()
getResourceBundleName
in interface Localizable