public static class LocalizedMessage.Utf8Control extends ResourceBundle.Control
Custom ResourceBundle.Control implementation which allows explicitly read the properties files as UTF-8.
FORMAT_CLASS, FORMAT_DEFAULT, FORMAT_PROPERTIES, TTL_DONT_CACHE, TTL_NO_EXPIRATION_CONTROL| Constructor and Description |
|---|
Utf8Control() |
| Modifier and Type | Method and Description |
|---|---|
ResourceBundle |
newBundle(String aBaseName,
Locale aLocale,
String aFormat,
ClassLoader aLoader,
boolean aReload) |
getCandidateLocales, getControl, getFallbackLocale, getFormats, getNoFallbackControl, getTimeToLive, needsReload, toBundleName, toResourceNamepublic Utf8Control()
public ResourceBundle newBundle(String aBaseName, Locale aLocale, String aFormat, ClassLoader aLoader, boolean aReload) throws IOException
newBundle in class ResourceBundle.ControlIOExceptionCopyright © 2001–2018. All rights reserved.