| java.lang.Object | |
| ↳ | java.util.ResourceBundle.Control |
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| List<String> | FORMAT_CLASS | a list defines java class format | |||||||||
| List<String> | FORMAT_DEFAULT | a list defines default format | |||||||||
| List<String> | FORMAT_PROPERTIES | a list defines property format | |||||||||
| long | TTL_DONT_CACHE | a constant that indicates cache will not be used. | |||||||||
| long | TTL_NO_EXPIRATION_CONTROL | a constant that indicates cache will not be expired. | |||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
default constructor
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a list of candidate locales according to
baseName in
locale. | |||||||||||
Returns a control according to
formats. | |||||||||||
Returns the fallback locale for
baseName in locale. | |||||||||||
Returns a list of strings of formats according to
baseName. | |||||||||||
Returns a control according to
formats whose fallback
locale is null. | |||||||||||
Returns the time to live of the ResourceBundle
baseName in locale,
default is TTL_NO_EXPIRATION_CONTROL. | |||||||||||
Returns true if the ResourceBundle needs to reload.
| |||||||||||
Returns a new ResourceBundle.
| |||||||||||
a utility method to answer the name of a resource bundle according to
the given base name and locale
| |||||||||||
a utility method to answer the name of a resource according to the
given bundleName and suffix
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
a list defines property format
a constant that indicates cache will not be used.
a constant that indicates cache will not be expired.
Returns a list of candidate locales according to baseName in
locale.
Returns a control according to formats.
Returns the fallback locale for baseName in locale.
Returns a list of strings of formats according to baseName.
Returns a control according to formats whose fallback
locale is null.
Returns the time to live of the ResourceBundle baseName in locale,
default is TTL_NO_EXPIRATION_CONTROL.
Returns true if the ResourceBundle needs to reload.
| baseName | the base name of the ResourceBundle |
|---|---|
| locale | the locale of the ResourceBundle |
| format | the format to load |
| loader | the ClassLoader to load resource |
| bundle | the ResourceBundle |
| loadTime | the expired time |
Returns a new ResourceBundle.
| baseName | the base name to use |
|---|---|
| locale | the given locale |
| format | the format, default is "java.class" or "java.properties" |
| loader | the classloader to use |
| reload | whether to reload the resource |
| IllegalAccessException | if we can not access resources |
|---|---|
| InstantiationException | if we can not instantiate a resource class |
| IOException | if other I/O exception happens |
a utility method to answer the name of a resource bundle according to the given base name and locale
| baseName | the given base name |
|---|---|
| locale | the locale to use |
a utility method to answer the name of a resource according to the given bundleName and suffix
| bundleName | the given bundle name |
|---|---|
| suffix | the suffix |