Package com.helger.xml.resourcebundle
Class XMLResourceBundleControl
java.lang.Object
java.util.ResourceBundle.Control
com.helger.xml.resourcebundle.XMLResourceBundleControl
Special
ResourceBundle.Control to handle XML files- Author:
- Philip Helger
-
Field Summary
Fields inherited from class java.util.ResourceBundle.Control
FORMAT_CLASS, FORMAT_DEFAULT, FORMAT_PROPERTIES, TTL_DONT_CACHE, TTL_NO_EXPIRATION_CONTROL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFormats(String sBaseName) newBundle(String sBaseName, Locale aLocale, String sFormat, ClassLoader aClassLoader, boolean bReload) Methods inherited from class java.util.ResourceBundle.Control
getCandidateLocales, getControl, getFallbackLocale, getNoFallbackControl, getTimeToLive, needsReload, toBundleName, toResourceName
-
Constructor Details
-
XMLResourceBundleControl
public XMLResourceBundleControl()
-
-
Method Details
-
getFormats
@ReturnsMutableCopy @CodingStyleguideUnaware public List<String> getFormats(@Nonnull String sBaseName) - Overrides:
getFormatsin classResourceBundle.Control
-
newBundle
public ResourceBundle newBundle(@Nonnull String sBaseName, @Nonnull Locale aLocale, @Nonnull String sFormat, @Nonnull ClassLoader aClassLoader, boolean bReload) throws IOException - Overrides:
newBundlein classResourceBundle.Control- Throws:
IOException
-