|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.ResourceBundle
com.sun.jdo.spi.persistence.utility.MergedBundle
public class MergedBundle
Special resource bundle which delegates to two others. Ideally could just set the parent on the first, but this is protected, so it might not work. It's still unclear whether that approach would work in this subclass because it may break the localization fall through mechanism if used. Note: This code is copied from NbBundle in the openide sources with the following modifications: - reformatting - making variables final - renaming variables and some params - removing locale code - creating the merged set of keys using jdk classes and not nb utils
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.ResourceBundle |
|---|
java.util.ResourceBundle.Control |
| Field Summary |
|---|
| Fields inherited from class java.util.ResourceBundle |
|---|
parent |
| Constructor Summary | |
|---|---|
MergedBundle(java.util.ResourceBundle mainBundle,
java.util.ResourceBundle parentBundle)
|
|
| Method Summary | |
|---|---|
java.util.Enumeration |
getKeys()
|
protected java.lang.Object |
handleGetObject(java.lang.String key)
|
| Methods inherited from class java.util.ResourceBundle |
|---|
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MergedBundle(java.util.ResourceBundle mainBundle,
java.util.ResourceBundle parentBundle)
| Method Detail |
|---|
public java.util.Enumeration getKeys()
getKeys in class java.util.ResourceBundle
protected java.lang.Object handleGetObject(java.lang.String key)
throws java.util.MissingResourceException
handleGetObject in class java.util.ResourceBundlejava.util.MissingResourceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||