public final class LocalizableMessage extends Object implements Localizable
NOT_LOCALIZABLE
Constructor and Description |
---|
LocalizableMessage(String bundlename,
String key,
Object... args) |
Modifier and Type | Method and Description |
---|---|
Object[] |
getArguments()
Returns the arguments for message formatting.
|
String |
getKey()
Gets the key in the resource bundle.
|
String |
getResourceBundleName() |
public 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 Object[] getArguments()
Localizable
getArguments
in interface Localizable
public String getResourceBundleName()
getResourceBundleName
in interface Localizable
Copyright © 2012. All Rights Reserved.