public class ResourceBundleLocalizedText extends LocalizedText
LocaleSource, such as ResourceBundleAdapter.EMPTY, NEWLINE, SPACE| Constructor and Description |
|---|
ResourceBundleLocalizedText(String baseName,
String key)
Create a new instance.
|
ResourceBundleLocalizedText(String baseName,
String key,
Object[] formatterArguments)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
void |
localeChanged(LocaleContext context)
Called when the locale has changed.
|
charAt, clone, getFormatterArguments, getText, getText, getValue, length, setValue, subSequence, toStringgetKeyfinalize, getClass, notify, notifyAll, wait, wait, waitchars, codePointspublic ResourceBundleLocalizedText(String baseName, String key)
baseName - the base name of the resource bundle.key - the key.public boolean equals(Object o)
equals in class LocalizedTextpublic int hashCode()
hashCode in class LocalizedTextpublic void localeChanged(LocaleContext context)
AbstractLocalizedObjectlocaleChanged in interface LocalizedObjectlocaleChanged in class LocalizedTextcontext - The LocaleContext with the locale information.