Class AdminUTF8Bundle
- java.lang.Object
-
- java.util.ResourceBundle
-
- com.github.adminfaces.template.i18n.AdminUTF8Bundle
-
public class AdminUTF8Bundle extends ResourceBundle
Adds support for UTF-8 based bundles for admin i18n messages Taken from: https://stackoverflow.com/a/3646601/1260910- Author:
- rafael-pestano
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAdminUTF8Bundle.UTF8Control-
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringBUNDLE_EXTENSIONprotected static StringBUNDLE_NAMEprotected static StringCHARSETprotected static ResourceBundle.ControlUTF8_CONTROL-
Fields inherited from class java.util.ResourceBundle
parent
-
-
Constructor Summary
Constructors Constructor Description AdminUTF8Bundle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Enumeration<String>getKeys()protected ObjecthandleGetObject(String key)-
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent
-
-
-
-
Field Detail
-
BUNDLE_NAME
protected static final String BUNDLE_NAME
- See Also:
- Constant Field Values
-
BUNDLE_EXTENSION
protected static final String BUNDLE_EXTENSION
- See Also:
- Constant Field Values
-
CHARSET
protected static final String CHARSET
- See Also:
- Constant Field Values
-
UTF8_CONTROL
protected static final ResourceBundle.Control UTF8_CONTROL
-
-
Method Detail
-
handleGetObject
protected Object handleGetObject(String key)
- Specified by:
handleGetObjectin classResourceBundle
-
getKeys
public Enumeration<String> getKeys()
- Specified by:
getKeysin classResourceBundle
-
-