| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.prefs.Preferences
java.util.prefs.AbstractPreferences
org.ini4j.IniPreferences.SectionPreferences
protected class IniPreferences.SectionPreferences
| Field Summary | |
|---|---|
| private  Ini.Section | _sectionunderlaying Sectionimplementation | 
| Fields inherited from class java.util.prefs.AbstractPreferences | 
|---|
| lock, newNode | 
| Fields inherited from class java.util.prefs.Preferences | 
|---|
| MAX_KEY_LENGTH, MAX_NAME_LENGTH, MAX_VALUE_LENGTH | 
| Constructor Summary | |
|---|---|
| IniPreferences.SectionPreferences(IniPreferences parent, Ini.Section section, boolean isNew)Constructs a new SectionPreferences instance on top of Ini.Section instance. | |
| Method Summary | |
|---|---|
| protected  java.lang.String[] | childrenNamesSpi()Implements the childrenNamesSpimethod as
      per the specification inAbstractPreferences.childrenNamesSpi(). | 
| protected
       java.util.prefs.AbstractPreferences | childSpi(java.lang.String name)Implements the childSpimethod as per the
      specification inAbstractPreferences.childSpi(String). | 
|  void | flush()Implements the flushmethod as per the
      specification inPreferences.flush(). | 
| protected  void | flushSpi()Implements the flushSpimethod as per the
      specification inAbstractPreferences.flushSpi(). | 
| protected  java.lang.String | getSpi(java.lang.String key)Implements the getSpimethod as per the
      specification inAbstractPreferences.getSpi(String). | 
| protected  java.lang.String[] | keysSpi()Implements the keysSpimethod as per the
      specification inAbstractPreferences.keysSpi(). | 
| protected  void | putSpi(java.lang.String key,
      java.lang.String value)Implements the putSpimethod as per the
      specification inAbstractPreferences.putSpi(String,String). | 
| protected  void | removeNodeSpi()Implements the removeNodeSpimethod as
      per the specification inAbstractPreferences.removeNodeSpi(). | 
| protected  void | removeSpi(java.lang.String key)Implements the removeSpimethod as per
      the specification inAbstractPreferences.removeSpi(String). | 
|  void | sync()Implements the syncmethod as per the
      specification inPreferences.sync(). | 
| protected  void | syncSpi()Implements the syncSpimethod as per the
      specification inAbstractPreferences.syncSpi(). | 
| Methods inherited from class java.util.prefs.AbstractPreferences | 
|---|
| absolutePath, addNodeChangeListener, addPreferenceChangeListener, cachedChildren, childrenNames, clear,
      exportNode, exportSubtree, get, getBoolean, getByteArray, getChild, getDouble, getFloat, getInt, getLong,
      isRemoved, isUserNode, keys, name, node, nodeExists, parent, put, putBoolean, putByteArray, putDouble, putFloat,
      putInt, putLong, remove, removeNode, removeNodeChangeListener, removePreferenceChangeListener, toString | 
| Methods inherited from class java.util.prefs.Preferences | 
|---|
| importPreferences, systemNodeForPackage, systemRoot, userNodeForPackage, userRoot | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
private Ini.Section _section
Section implementation
    
| Constructor Detail | 
|---|
IniPreferences.SectionPreferences(IniPreferences parent,
                                  Ini.Section section,
                                  boolean isNew)
parent - parent preferences node
      isNew - indicate is this a new node or already existing one
    | Method Detail | 
|---|
protected java.util.prefs.AbstractPreferences childSpi(java.lang.String name)
                                                throws java.lang.UnsupportedOperationException
childSpi method as per the specification in
    AbstractPreferences.childSpi(String).
    This implementation doesn't support this operation.
    
childSpi in class java.util.prefs.AbstractPreferences
    name - child name
      java.lang.UnsupportedOperationException - this implementation allways throws this exception
    
protected java.lang.String[] childrenNamesSpi()
                                       throws java.util.prefs.BackingStoreException
childrenNamesSpi method as per the specification in AbstractPreferences.childrenNamesSpi().
    This implementation allways returns an empty array.
    
childrenNamesSpi in class java.util.prefs.AbstractPreferences
    java.util.prefs.BackingStoreException - if this operation cannot be completed due to a failure in
        the backing store, or inability to communicate with it.
    
protected void flushSpi()
                 throws java.util.prefs.BackingStoreException
flushSpi method as per the specification in
    AbstractPreferences.flushSpi().
    This implementation does nothing.
    
flushSpi in class java.util.prefs.AbstractPreferences
    java.util.prefs.BackingStoreException - if this operation cannot be completed due to a failure in
        the backing store, or inability to communicate with it.
    protected java.lang.String getSpi(java.lang.String key)
getSpi method as per the specification in
    AbstractPreferences.getSpi(String).
    
getSpi in class java.util.prefs.AbstractPreferences
    key - key to getvalue for
      
protected java.lang.String[] keysSpi()
                              throws java.util.prefs.BackingStoreException
keysSpi method as per the specification in AbstractPreferences.keysSpi().
    
keysSpi in class java.util.prefs.AbstractPreferences
    java.util.prefs.BackingStoreException - if this operation cannot be completed due to a failure in
        the backing store, or inability to communicate with it.
    
protected void putSpi(java.lang.String key,
                      java.lang.String value)
putSpi method as per the specification in AbstractPreferences.putSpi(String,String).
    
putSpi in class java.util.prefs.AbstractPreferences
    key - key to set value for
      value - new value of key
    
protected void removeNodeSpi()
                      throws java.util.prefs.BackingStoreException
removeNodeSpi method as per the specification in AbstractPreferences.removeNodeSpi().
    
removeNodeSpi in class java.util.prefs.AbstractPreferences
    java.util.prefs.BackingStoreException - if this operation cannot be completed due to a failure in
        the backing store, or inability to communicate with it.
    protected void removeSpi(java.lang.String key)
removeSpi method as per the specification in AbstractPreferences.removeSpi(String).
    
removeSpi in class java.util.prefs.AbstractPreferences
    key - key to remove
    
protected void syncSpi()
                throws java.util.prefs.BackingStoreException
syncSpi method as per the specification in AbstractPreferences.syncSpi().
    This implementation does nothing.
    
syncSpi in class java.util.prefs.AbstractPreferences
    java.util.prefs.BackingStoreException - if this operation cannot be completed due to a failure in
        the backing store, or inability to communicate with it.
    
public void sync()
          throws java.util.prefs.BackingStoreException
sync method as per the specification in Preferences.sync().
    This implementation just call parent's sync() method.
    
sync in class java.util.prefs.AbstractPreferences
    java.util.prefs.BackingStoreException - if this operation cannot be completed due to a failure in
        the backing store, or inability to communicate with it.
    
public void flush()
           throws java.util.prefs.BackingStoreException
flush method as per the specification in Preferences.flush().
    This implementation just call parent's flush() method.
    
flush in class java.util.prefs.AbstractPreferences
    java.util.prefs.BackingStoreException - if this operation cannot be completed due to a failure in
        the backing store, or inability to communicate with it.
    | 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||