public class ReloadableResourceBundleControl extends ResourceBundle.Control
FORMAT_CLASS, FORMAT_DEFAULT, FORMAT_PROPERTIES, TTL_DONT_CACHE, TTL_NO_EXPIRATION_CONTROL| 构造器和说明 |
|---|
ReloadableResourceBundleControl(boolean isClassPath) |
| 限定符和类型 | 方法和说明 |
|---|---|
Locale |
getFallbackLocale(String baseName,
Locale locale) |
List<String> |
getFormats(String baseName) |
long |
getTimeToLive(String baseName,
Locale locale) |
boolean |
needsReload(String baseName,
Locale locale,
String format,
ClassLoader loader,
ResourceBundle bundle,
long loadTime) |
ResourceBundle |
newBundle(String baseName,
Locale locale,
String format,
ClassLoader loader,
boolean reload) |
getCandidateLocales, getControl, getNoFallbackControl, toBundleName, toResourceNamepublic long getTimeToLive(String baseName, Locale locale)
getTimeToLive 在类中 ResourceBundle.Controlpublic boolean needsReload(String baseName, Locale locale, String format, ClassLoader loader, ResourceBundle bundle, long loadTime)
needsReload 在类中 ResourceBundle.Controlpublic ResourceBundle newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload) throws IllegalAccessException, InstantiationException, IOException
public List<String> getFormats(String baseName)
getFormats 在类中 ResourceBundle.ControlCopyright © 2024. All rights reserved.