Package com.helger.xml.resourcebundle
Class XMLResourceBundleControl
- java.lang.Object
-
- java.util.ResourceBundle.Control
-
- com.helger.xml.resourcebundle.XMLResourceBundleControl
-
public final class XMLResourceBundleControl extends ResourceBundle.Control
SpecialResourceBundle.Controlto 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 Constructor Description XMLResourceBundleControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getFormats(String sBaseName)ResourceBundlenewBundle(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
-
-
-
-
Method Detail
-
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
-
-