public class UTF8ResourceBundle extends Object
ResourceBundle
but is target for UTF-8 property file resources.
May not be used with 8-bit ASCII - only with UTF-8.
see http://sophisticated-it.de/index.php/2007/06/19/utf-8-unterstutzung-fur-property-resource-bundles-in-java-systemen-und-speziell-fur-jsf/Modifier and Type | Class and Description |
---|---|
static class |
UTF8ResourceBundle.PropertyResourceBundleUtf8 |
Constructor and Description |
---|
UTF8ResourceBundle() |
Modifier and Type | Method and Description |
---|---|
static ResourceBundle |
createUtf8PropertyResourceBundle(ResourceBundle pBundle) |
static ResourceBundle |
getBundle(String pBaseName) |
static ResourceBundle |
getBundle(String pBaseName,
Locale pLocale) |
static ResourceBundle |
getBundle(String pBaseName,
Locale pLocale,
ClassLoader pLoader) |
public static ResourceBundle getBundle(String pBaseName)
pBaseName
- bundle namepublic static ResourceBundle getBundle(String pBaseName, Locale pLocale)
pBaseName
- bundle namepLocale
- localepublic static ResourceBundle getBundle(String pBaseName, Locale pLocale, ClassLoader pLoader)
pBaseName
- bundle namepLocale
- localepLoader
- classloaderResourceBundle.getBundle(String, Locale, ClassLoader)
public static ResourceBundle createUtf8PropertyResourceBundle(ResourceBundle pBundle)
Copyright © 2016. All rights reserved.