public class Translator extends Object
java.util.ResourceBundle.
Originally contributed by:
Stanislav.Gorkhover@jCatalog.com| Constructor and Description |
|---|
Translator()
Default constructor, default
Locale is used. |
Translator(Locale locale)
Constructor for a given
Locale. |
| Modifier and Type | Method and Description |
|---|---|
String |
getString(String key)
Returns localized
String for a given key. |
public Translator()
Locale is used.public Translator(Locale locale)
Locale.locale - Locale to useCopyright © 2023 Apache Software Foundation. All rights reserved.