org.shetline.util
Class PropertiesControl
java.lang.Object
java.util.ResourceBundle.Control
org.shetline.util.PropertiesControl
public class PropertiesControl
- extends ResourceBundle.Control
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
encoding
protected String encoding
localeMode
protected PropertiesControl.LocaleMode localeMode
rootLocale
protected Locale rootLocale
PropertiesControl
public PropertiesControl()
PropertiesControl
public PropertiesControl(String encoding)
PropertiesControl
public PropertiesControl(String encoding,
Locale rootLocale)
PropertiesControl
public PropertiesControl(String encoding,
PropertiesControl.LocaleMode localeMode)
PropertiesControl
public PropertiesControl(PropertiesControl.LocaleMode localeMode,
Locale rootLocale)
PropertiesControl
public PropertiesControl(String encoding,
PropertiesControl.LocaleMode localeMode,
Locale rootLocale)
getFormats
public List<String> getFormats(String baseName)
- Overrides:
getFormats
in class ResourceBundle.Control
getCandidateLocales
public List<Locale> getCandidateLocales(String baseName,
Locale locale)
- Overrides:
getCandidateLocales
in class ResourceBundle.Control
newBundle
public ResourceBundle newBundle(String baseName,
Locale locale,
String format,
ClassLoader loader,
boolean reload)
throws IllegalAccessException,
InstantiationException,
IOException
- Overrides:
newBundle
in class ResourceBundle.Control
- Throws:
IllegalAccessException
InstantiationException
IOException