当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
NbLocalizer (Editor Module) - NetBeans API Javadoc (Current Development Version)
org.netbeans.modules.editor
Class NbLocalizer
java.lang.Object
org.netbeans.modules.editor.NbLocalizer
- All Implemented Interfaces:
- LocaleSupport.Localizer
public class NbLocalizer
- extends Object
- implements LocaleSupport.Localizer
Locale support localizer that uses the bundle to get
the localized string for the given key.
Constructor Summary |
NbLocalizer(Class bundleClass)
Construct new localizer that uses a bundle for the given class. |
NbLocalizer
public NbLocalizer(Class bundleClass)
- Construct new localizer that uses a bundle for the given class.
- Parameters:
bundleClass
- class for which the bundle is retrieved by NbBundle.getBundle()
getString
public String getString(String key)
- Get the localized string using the given key.
- Specified by:
getString
in interface LocaleSupport.Localizer
toString
public String toString()
- Overrides:
toString
in class Object