public class UTF8Control extends ResourceBundle.Control
This class has been very slightly adapted from BalusC answer to question: How to use UTF-8 in resource properties with ResourceBundle.
FORMAT_CLASS, FORMAT_DEFAULT, FORMAT_PROPERTIES, TTL_DONT_CACHE, TTL_NO_EXPIRATION_CONTROL
Constructor | Description |
---|---|
UTF8Control() |
Modifier and Type | Method | Description |
---|---|---|
ResourceBundle |
newBundle(String baseName,
Locale locale,
String format,
ClassLoader loader,
boolean reload) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCandidateLocales, getControl, getFallbackLocale, getFormats, getNoFallbackControl, getTimeToLive, needsReload, toBundleName, toResourceName
public ResourceBundle newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload) throws IllegalAccessException, InstantiationException, IOException
newBundle
in class ResourceBundle.Control
IllegalAccessException
InstantiationException
IOException
Copyright © 2016–2018 Hipparchus.org. All rights reserved.