Package org.bedework.util.config
Class FileResourceControl
- java.lang.Object
-
- java.util.ResourceBundle.Control
-
- org.bedework.util.config.FileResourceControl
-
public class FileResourceControl extends ResourceBundle.Control
This allows us to load bundles from the configuration hierarchy.- Author:
- Mike Douglass
-
-
Field Summary
-
Fields inherited from class java.util.ResourceBundle.Control
FORMAT_CLASS, FORMAT_DEFAULT, FORMAT_PROPERTIES, TTL_DONT_CACHE, TTL_NO_EXPIRATION_CONTROL
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceBundlenewBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload)-
Methods inherited from class java.util.ResourceBundle.Control
getCandidateLocales, getControl, getFallbackLocale, getFormats, getNoFallbackControl, getTimeToLive, needsReload, toBundleName, toResourceName
-
-
-
-
Method Detail
-
newBundle
public ResourceBundle newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload) throws IllegalAccessException, InstantiationException, IOException
- Overrides:
newBundlein classResourceBundle.Control- Throws:
IllegalAccessExceptionInstantiationExceptionIOException
-
-