Package com.axelor.i18n
Class I18nBundle
- java.lang.Object
-
- java.util.ResourceBundle
-
- com.axelor.i18n.I18nBundle
-
public class I18nBundle extends ResourceBundle
The database backedResourceBundle
that loads translations from the axelor database.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control
-
-
Field Summary
-
Fields inherited from class java.util.ResourceBundle
parent
-
-
Constructor Summary
Constructors Constructor Description I18nBundle(Locale locale)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsKey(String key)
Enumeration<String>
getKeys()
protected Object
handleGetObject(String key)
protected Set<String>
handleKeySet()
static void
invalidate()
-
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, keySet, setParent
-
-
-
-
Constructor Detail
-
I18nBundle
public I18nBundle(Locale locale)
-
-
Method Detail
-
handleGetObject
protected Object handleGetObject(String key)
- Specified by:
handleGetObject
in classResourceBundle
-
handleKeySet
protected Set<String> handleKeySet()
- Overrides:
handleKeySet
in classResourceBundle
-
getKeys
public Enumeration<String> getKeys()
- Specified by:
getKeys
in classResourceBundle
-
containsKey
public boolean containsKey(String key)
- Overrides:
containsKey
in classResourceBundle
-
invalidate
public static void invalidate()
-
-