public static class OrekitMessages.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 and Description |
---|
UTF8Control() |
Modifier and Type | Method and Description |
---|---|
ResourceBundle |
newBundle(String baseName,
Locale locale,
String format,
ClassLoader loader,
boolean reload) |
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 © 2002-2020 CS Group. All rights reserved.