protected class IniPreferences.SectionPreferences extends AbstractPreferences
lock, newNodeMAX_KEY_LENGTH, MAX_NAME_LENGTH, MAX_VALUE_LENGTH| Modifier and Type | Method and Description |
|---|---|
protected String[] |
childrenNamesSpi()
Implements the
childrenNamesSpi method as per the specification in
AbstractPreferences.childrenNamesSpi(). |
protected IniPreferences.SectionPreferences |
childSpi(String name)
Implements the
childSpi method as per the specification in
AbstractPreferences.childSpi(String). |
void |
flush()
Implements the
flush method as per the specification in
Preferences.flush(). |
protected void |
flushSpi()
Implements the
flushSpi method as per the specification in
AbstractPreferences.flushSpi(). |
protected String |
getSpi(String key)
Implements the
getSpi method as per the specification in
AbstractPreferences.getSpi(String). |
protected String[] |
keysSpi()
Implements the
keysSpi method as per the specification in
AbstractPreferences.keysSpi(). |
protected void |
putSpi(String key,
String value)
Implements the
putSpi method as per the specification in
AbstractPreferences.putSpi(String,String). |
protected void |
removeNodeSpi()
Implements the
removeNodeSpi method as per the specification in
AbstractPreferences.removeNodeSpi(). |
protected void |
removeSpi(String key)
Implements the
removeSpi method as per the specification in
AbstractPreferences.removeSpi(String). |
void |
sync()
Implements the
sync method as per the specification in
Preferences.sync(). |
protected void |
syncSpi()
Implements the
syncSpi method as per the specification in
AbstractPreferences.syncSpi(). |
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, toStringimportPreferences, systemNodeForPackage, systemRoot, userNodeForPackage, userRootpublic void flush()
throws BackingStoreException
flush method as per the specification in
Preferences.flush().
This implementation just call parent's flush() method.flush in class AbstractPreferencesBackingStoreException - if this operation cannot be completed due to a failure in the backing store, or inability to communicate with it.public void sync()
throws BackingStoreException
sync method as per the specification in
Preferences.sync().
This implementation just call parent's sync() method.sync in class AbstractPreferencesBackingStoreException - if this operation cannot be completed due to a failure in the backing store, or inability to communicate with it.protected String getSpi(String key)
getSpi method as per the specification in
AbstractPreferences.getSpi(String).getSpi in class AbstractPreferenceskey - key to getvalue forprotected String[] childrenNamesSpi() throws BackingStoreException
childrenNamesSpi method as per the specification in
AbstractPreferences.childrenNamesSpi().
This implementation allways returns an empty array.childrenNamesSpi in class AbstractPreferencesBackingStoreException - if this operation cannot be completed due to a failure in the backing store, or inability to communicate with it.protected IniPreferences.SectionPreferences childSpi(String name) throws UnsupportedOperationException
childSpi method as per the specification in
AbstractPreferences.childSpi(String).
This implementation doesn't support this operation.childSpi in class AbstractPreferencesname - child nameUnsupportedOperationException - this implementation allways throws this exceptionprotected void flushSpi()
throws BackingStoreException
flushSpi method as per the specification in
AbstractPreferences.flushSpi().
This implementation does nothing.flushSpi in class AbstractPreferencesBackingStoreException - if this operation cannot be completed due to a failure in the backing store, or inability to communicate with it.protected String[] keysSpi() throws BackingStoreException
keysSpi method as per the specification in
AbstractPreferences.keysSpi().keysSpi in class AbstractPreferencesBackingStoreException - if this operation cannot be completed due to a failure in the backing store, or inability to communicate with it.protected void putSpi(String key, String value)
putSpi method as per the specification in
AbstractPreferences.putSpi(String,String).putSpi in class AbstractPreferenceskey - key to set value forvalue - new value of keyprotected void removeNodeSpi()
throws BackingStoreException
removeNodeSpi method as per the specification in
AbstractPreferences.removeNodeSpi().removeNodeSpi in class AbstractPreferencesBackingStoreException - if this operation cannot be completed due to a failure in the backing store, or inability to communicate with it.protected void removeSpi(String key)
removeSpi method as per the specification in
AbstractPreferences.removeSpi(String).removeSpi in class AbstractPreferenceskey - key to removeprotected void syncSpi()
throws BackingStoreException
syncSpi method as per the specification in
AbstractPreferences.syncSpi().
This implementation does nothing.syncSpi in class AbstractPreferencesBackingStoreException - if this operation cannot be completed due to a failure in the backing store, or inability to communicate with it.Copyright © 2001–2025. All rights reserved.