public class NbLocalizer extends Object implements LocaleSupport.Localizer
Constructor and Description |
---|
NbLocalizer(Class bundleClass)
Construct new localizer that uses a bundle for the given class.
|
Modifier and Type | Method and Description |
---|---|
String |
getString(String key)
Get the localized string using the given key.
|
String |
toString() |
public NbLocalizer(Class bundleClass)
bundleClass
- class for which the bundle is retrieved by NbBundle.getBundle()