public final class LocalizableMessage extends java.lang.Object implements Localizable
NOT_LOCALIZABLE
Constructor and Description |
---|
LocalizableMessage(java.lang.String bundlename,
java.lang.String key,
java.lang.Object... args) |
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 LocalizableMessage(java.lang.String bundlename, java.lang.String key, java.lang.Object... args)
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
Copyright © 2016 Oracle Corporation. All Rights Reserved.