LocalizableMessage, NullLocalizablepublic interface Localizable
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
NOT_LOCALIZABLE |
Special constant that represents a message that
is not localizable.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object[] |
getArguments() |
Returns the arguments for message formatting.
|
java.lang.String |
getKey() |
Gets the key in the resource bundle.
|
java.util.ResourceBundle |
getResourceBundle(java.util.Locale locale) |
|
java.lang.String |
getResourceBundleName() |
static final java.lang.String NOT_LOCALIZABLE
Use of "new" is to create an unique instance.
java.lang.String getKey()
NOT_LOCALIZABLE,
that means the message is not localizable, and
the first item of getArguments() array
holds a String.java.lang.Object[] getArguments()
java.lang.String getResourceBundleName()
java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
Copyright © 2018 Oracle Corporation. All rights reserved.