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()
Empty constructor.
|
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 UTF8Control()
This constructor is not strictly necessary, but it prevents spurious javadoc warnings with JDK 18 and later.
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-2023 CS GROUP. All rights reserved.