public static class RuggedMessages.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 IOException
newBundle
in class ResourceBundle.Control
IOException
Copyright © 2014-2019 CS Systèmes d'information. All rights reserved.