public final class ResourceBundleLocalizer extends Object implements StringLocalizer
StringLocalizer.
Note: This class is not part of the public JGoodies Common API. It's intended
for implementation purposes only. The class's API may change at any time.| Constructor and Description |
|---|
ResourceBundleLocalizer(ResourceBundle bundle) |
| Modifier and Type | Method and Description |
|---|---|
String |
getString(String resourceKey)
Looks up and returns the internationalized (i15d) string for the given resource key from the
ResourceBundle that has been provided during the builder construction.
|
public ResourceBundleLocalizer(ResourceBundle bundle)
public String getString(String resourceKey)
getString in interface StringLocalizerresourceKey - the key to look for in the resource bundleIllegalStateException - if no ResourceBundle has been setCopyright © 2021. All rights reserved.