ResourceBundle which mimics
ListResourceBundle, but provides more hooks
for specialized subclass behavior. For general description,
see java.util.ListResourceBundle .
This class leaves handleGetObject non-final, and adds a method createMap which allows subclasses to use specialized Map implementations.
| Modifier and Type | Field and Description |
|---|---|
| private final LazyConstant | |
| private final LazyConstant |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected <K, V> Map | |
| protected <E> Set | |
| protected abstract Object[][] | |
| public Enumeration | getKeys()
Implements abstract java. Implementation of ResourceBundle.getKeys. |
| protected Object | handleGetObject(String key)
Implements abstract java. Gets an object for the given key from this resource bundle. |
| protected Set | handleKeySet()
Overrides java. Returns a set of keys provided in this resource bundle, including no parents. |
| public Set | keySet()
Overrides java. Returns a |
| private Set | |
| private Map |
| keyset | back to summary |
|---|---|
| private final LazyConstant<Set<String>> keyset | |
| lookup | back to summary |
|---|---|
| private final LazyConstant<Map<String, Object>> lookup | |
| OpenListResourceBundle | back to summary |
|---|---|
| protected OpenListResourceBundle() Sole constructor. (For invocation by subclass constructors, typically implicit.) | |
| createMap | back to summary |
|---|---|
| protected <K, V> Map Lets subclasses provide specialized Map implementations. Default uses HashMap. | |
| createSet | back to summary |
|---|---|
| protected <E> Set | |
| getContents | back to summary |
|---|---|
| protected abstract Object[][] getContents() See ListResourceBundle class description. | |
| getKeys | back to summary |
|---|---|
| public Enumeration Implements abstract java. Implementation of ResourceBundle.getKeys.
| |
| handleGetObject | back to summary |
|---|---|
| protected Object handleGetObject(String key) Implements abstract java. Doc from java. Gets an object for the given key from this resource bundle. Returns null if this resource bundle does not contain an object for the given key.
| |
| handleKeySet | back to summary |
|---|---|
| protected Set Overrides java. Returns a set of keys provided in this resource bundle, including no parents.
| |
| keySet | back to summary |
|---|---|
| public Set Overrides java. Doc from java. Returns a
| |
| keyset0 | back to summary |
|---|---|
| private Set | |
| lookup0 | back to summary |
|---|---|
| private Map | |