There is one nested class associated with the ResourceBundle class, that is the ResourceBundle.Control class. It provides callback methods that are used when the ResourceBundle.getBundle method is used, shown as follows:
public static class ResourceBundle.Control extends Object
The ResourceBundle.Control class has the following fields:
- public static final List<String> FORMAT_CLASS
- public static final List<String> FORMAT_DEFAULT
- public static final List<String> FORMAT_PROPERTIES
- public static final long TTL_DONT_CACHE
- public static final long TTL_NO_EXPIRATION_CONTROL
The class has a single, empty constructor and the following methods:
- getCandidateLocales():
public List<Locale> getCandidateLocales(String baseName, Locale ...