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, toString
getKey
finalize, getClass, notify, notifyAll, wait, wait, wait
chars, codePoints
public ResourceBundleLocalizedText(String baseName, String key)
baseName
- the base name of the resource bundle.key
- the key.public boolean equals(Object o)
equals
in class LocalizedText
public int hashCode()
hashCode
in class LocalizedText
public void localeChanged(LocaleContext context)
AbstractLocalizedObject
localeChanged
in interface LocalizedObject
localeChanged
in class LocalizedText
context
- The LocaleContext with the locale information.