KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > util > prefs > AbstractPreferences

java.util.prefs
Class AbstractPreferences

java.lang.Object
  extended by java.util.prefs.Preferences
      extended by java.util.prefs.AbstractPreferences
See Also:
Top Examples, Source Code, put(String,String), ThreadLocal, SecurityException, BackingStoreException, get(String,String), flushSpi(), syncSpi(), childrenNamesSpi(), keysSpi(), removeNodeSpi(), childSpi(String), removeSpi(String), putSpi(String,String), getSpi(String)

public String absolutePath()
See Also:
Preferences
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected AbstractPreferences(AbstractPreferences parent,
                              String name)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addNodeChangeListener(NodeChangeListener ncl)
See Also:
Preferences.addPreferenceChangeListener(PreferenceChangeListener), Preferences.removeNodeChangeListener(NodeChangeListener), Preferences.removeNode()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addPreferenceChangeListener(PreferenceChangeListener pcl)
See Also:
Preferences.addNodeChangeListener(NodeChangeListener), Preferences.removePreferenceChangeListener(PreferenceChangeListener), Preferences.removeNode()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final AbstractPreferences[] cachedChildren()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String[] childrenNames()
                       throws BackingStoreException
See Also:
cachedChildren(), removeNode(), IllegalStateException, Preferences, childrenNamesSpi()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract String[] childrenNamesSpi()
                                      throws BackingStoreException
See Also:
childrenNames()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract AbstractPreferences childSpi(String name)
See Also:
getChild(String), Preferences.MAX_NAME_LENGTH
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void clear()
           throws BackingStoreException
See Also:
Preferences.removeNode(), removeNode(), IllegalStateException, remove(String), keys()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void exportNode(OutputStream os)
                throws IOException,
                       BackingStoreException
See Also:
Preferences.importPreferences(InputStream)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void exportSubtree(OutputStream os)
                   throws IOException,
                          BackingStoreException
See Also:
Preferences.exportNode(OutputStream), Preferences.importPreferences(InputStream)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void flush()
           throws BackingStoreException
See Also:
Preferences, removeNode()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract void flushSpi()
                          throws BackingStoreException
See Also:
flush()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String get(String key,
                  String def)
See Also:
NullPointerException, removeNode(), IllegalStateException, Preferences, getSpi(String)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean getBoolean(String key,
                          boolean def)
See Also:
Preferences.putBoolean(String,boolean), Preferences.get(String,String), NullPointerException, removeNode(), IllegalStateException, String.equalsIgnoreCase(String), get(key, null)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public byte[] getByteArray(String key,
                           byte[] def)
See Also:
Preferences.putByteArray(String,byte[]), Preferences.get(String,String), NullPointerException, removeNode(), IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected AbstractPreferences getChild(String nodeName)
                                throws BackingStoreException
See Also:
childSpi(String), childrenNames(), Preferences.MAX_NAME_LENGTH
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public double getDouble(String key,
                        double def)
See Also:
Preferences.get(String,String), Preferences.putDouble(String,double), NullPointerException, removeNode(), IllegalStateException, Double.parseDouble(String), get(key, null)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public float getFloat(String key,
                      float def)
See Also:
Preferences.get(String,String), Preferences.putFloat(String,float), NullPointerException, removeNode(), IllegalStateException, Float.parseFloat(String), get(key, null)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getInt(String key,
                  int def)
See Also:
Preferences.get(String,String), Preferences.putInt(String,int), NullPointerException, removeNode(), IllegalStateException, Integer.parseInt(String), get(key, null)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public long getLong(String key,
                    long def)
See Also:
Preferences.get(String,String), Preferences.putLong(String,long), NullPointerException, removeNode(), IllegalStateException, Long.parseLong(String), get(key, null)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract String getSpi(String key)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean isRemoved()
See Also:
removeNode()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isUserNode()
See Also:
Preferences, Preferences.userRoot()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String[] keys()
              throws BackingStoreException
See Also:
removeNode(), IllegalStateException, Preferences, keysSpi()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract String[] keysSpi()
                             throws BackingStoreException
See Also:
keys()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final Object lock
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String name()
See Also:
Preferences
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean newNode
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Preferences node(String path)
See Also:
Preferences.flush(), removeNode(), IllegalStateException, IllegalArgumentException, locking invariant, newNode, childSpi(String)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean nodeExists(String path)
                   throws BackingStoreException
See Also:
removeNode(), IllegalStateException, IllegalArgumentException, Preferences, childSpi(String), getChild(String), node(String)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Preferences parent()
See Also:
removeNode(), IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void put(String key,
                String value)
See Also:
removeNode(), IllegalStateException, IllegalArgumentException, NullPointerException, Preferences, putSpi(String,String)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void putBoolean(String key,
                       boolean value)
See Also:
Preferences.get(String,String), Preferences.getBoolean(String,boolean), removeNode(), IllegalStateException, IllegalArgumentException, NullPointerException, put(String,String), String.valueOf(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void putByteArray(String key,
                         byte[] value)
See Also:
Preferences.get(String,String), Preferences.getByteArray(String,byte[]), removeNode(), IllegalStateException, IllegalArgumentException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void putDouble(String key,
                      double value)
See Also:
Preferences.getDouble(String,double), removeNode(), IllegalStateException, IllegalArgumentException, NullPointerException, put(String,String), Double.toString(double)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void putFloat(String key,
                     float value)
See Also:
Preferences.getFloat(String,float), removeNode(), IllegalStateException, IllegalArgumentException, NullPointerException, put(String,String), Float.toString(float)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void putInt(String key,
                   int value)
See Also:
Preferences.getInt(String,int), removeNode(), IllegalStateException, IllegalArgumentException, NullPointerException, put(String,String), Integer.toString(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void putLong(String key,
                    long value)
See Also:
Preferences.getLong(String,long), removeNode(), IllegalStateException, IllegalArgumentException, NullPointerException, put(String,String), Long.toString(long)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract void putSpi(String key,
                               String value)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void remove(String key)
See Also:
removeNode(), IllegalStateException, Preferences, removeSpi(String)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeNode()
                throws BackingStoreException
See Also:
Preferences.flush(), UnsupportedOperationException, IllegalStateException, removeNodeSpi(), childSpi(String), childrenNamesSpi()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeNodeChangeListener(NodeChangeListener ncl)
See Also:
Preferences.addNodeChangeListener(NodeChangeListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract void removeNodeSpi()
                               throws BackingStoreException
See Also:
removeNode(), Preferences.removeNode()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removePreferenceChangeListener(PreferenceChangeListener pcl)
See Also:
Preferences.addPreferenceChangeListener(PreferenceChangeListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract void removeSpi(String key)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void sync()
          throws BackingStoreException
See Also:
flush(), removeNode(), IllegalStateException, Preferences
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract void syncSpi()
                         throws BackingStoreException
See Also:
sync()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
Preferences
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags