Package com.saperion.util
Class Utf8ResourceBundle
- java.lang.Object
-
- java.util.ResourceBundle
-
- com.saperion.util.Utf8ResourceBundle
-
public class Utf8ResourceBundle extends java.util.ResourceBundle
A wrapper around a ResourceBundle that converts strings to UTF-8. This is required to handle property-files with UTF-8 encoding because Java reads property-files in ISO-8859-1.
-
-
Constructor Summary
Constructors Constructor Description Utf8ResourceBundle(java.util.PropertyResourceBundle resourceBundle)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Enumeration<java.lang.String>
getKeys()
protected java.lang.Object
handleGetObject(java.lang.String key)
-
-
-
Method Detail
-
handleGetObject
protected java.lang.Object handleGetObject(java.lang.String key)
- Specified by:
handleGetObject
in classjava.util.ResourceBundle
- See Also:
ResourceBundle.handleGetObject(java.lang.String)
-
getKeys
public java.util.Enumeration<java.lang.String> getKeys()
- Specified by:
getKeys
in classjava.util.ResourceBundle
- See Also:
ResourceBundle.getKeys()
-
-