Package com.axelor.i18n
Class I18nBundle
- java.lang.Object
-
- java.util.ResourceBundle
-
- com.axelor.i18n.I18nBundle
-
public class I18nBundle extends ResourceBundle
The database backedResourceBundlethat 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 booleancontainsKey(String key)Enumeration<String>getKeys()protected ObjecthandleGetObject(String key)protected Set<String>handleKeySet()static voidinvalidate()-
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:
handleGetObjectin classResourceBundle
-
handleKeySet
protected Set<String> handleKeySet()
- Overrides:
handleKeySetin classResourceBundle
-
getKeys
public Enumeration<String> getKeys()
- Specified by:
getKeysin classResourceBundle
-
containsKey
public boolean containsKey(String key)
- Overrides:
containsKeyin classResourceBundle
-
invalidate
public static void invalidate()
-
-