cdm/src/main/java/ucar/util/prefs/PreferencesExt.java
protected Collection keysSpi(String nodePath) {
      HashSet allKeys = new HashSet();
      try {
        if (nodeExists( nodePath)) {
          PreferencesExt node = (PreferencesExt) node( nodePath);
          //show( "subKeys1 "+nodePath, node.keyValues.keySet());
          allKeys.addAll( node.keyValues.keySet());
        }
      } catch (java.util.prefs.BackingStoreException e) { }

      PreferencesExt sd = getStoredDefaults();
      if (sd != null) {
        allKeys.addAll( sd.keysSpi(nodePath));
        //show( "subKeys2 ", allKeys);
      }

      return allKeys;
    }
protected Collection keysSpi(String nodePath) {
      HashSet allKeys = new HashSet();
      try {
        if (nodeExists( nodePath)) {
          PreferencesExt node = (PreferencesExt) node( nodePath);
          //show( "subKeys1 "+nodePath, node.keyValues.keySet());
          allKeys.addAll( node.keyValues.keySet());
        }
      } catch (java.util.prefs.BackingStoreException e) { }

      PreferencesExt sd = getStoredDefaults();
      if (sd != null) {
        allKeys.addAll( sd.keysSpi(nodePath));
        //show( "subKeys2 ", allKeys);
      }

      return allKeys;
    }
protected Collection keysSpi ( String nodePath ) { HashSet allKeys = new HashSet ( ) ; try { if ( nodeExists ( nodePath ) ) { PreferencesExt node = ( PreferencesExt ) node ( nodePath ) ; //show( "subKeys1 "+nodePath, node.keyValues.keySet()); allKeys . addAll ( node . keyValues . keySet ( ) ) ; } } catch ( java . util . prefs . BackingStoreException e ) { } PreferencesExt sd = getStoredDefaults ( ) ; if ( sd != null ) { allKeys . addAll ( sd . keysSpi ( nodePath ) ) ; //show( "subKeys2 ", allKeys); } return allKeys ; }
/* Find all keys of named node (or of identically named nodes in
storedDefaults)
/ * Find all keys of named node ( or of identically named nodes in storedDefaults )