|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object Preferences AbstractPreferences org.ini4j.IniPreferences.SectionPreferences
protected class IniPreferences.SectionPreferences
Field Summary |
---|
Fields inherited from class AbstractPreferences |
---|
lock, newNode |
Fields inherited from class Preferences |
---|
MAX_KEY_LENGTH, MAX_NAME_LENGTH, MAX_VALUE_LENGTH |
Method Summary | |
---|---|
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() . |
Methods inherited from class 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 Preferences |
---|
importPreferences, systemNodeForPackage, systemRoot, userNodeForPackage, userRoot |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void flush() throws BackingStoreException
flush
method as per the specification in
Preferences.flush()
.
This implementation just call parent's flush()
method.
flush
in class AbstractPreferences
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 BackingStoreException
sync
method as per the specification in
Preferences.sync()
.
This implementation just call parent's sync()
method.
sync
in class AbstractPreferences
BackingStoreException
- 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 AbstractPreferences
key
- key to getvalue for
protected String[] childrenNamesSpi() throws BackingStoreException
childrenNamesSpi
method as per the specification in
AbstractPreferences.childrenNamesSpi()
.
This implementation allways returns an empty array.
childrenNamesSpi
in class AbstractPreferences
BackingStoreException
- 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 AbstractPreferences
name
- child name
UnsupportedOperationException
- 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 AbstractPreferences
BackingStoreException
- 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 AbstractPreferences
BackingStoreException
- 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 AbstractPreferences
key
- 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 AbstractPreferences
BackingStoreException
- 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 AbstractPreferences
key
- key to removeprotected void syncSpi() throws BackingStoreException
syncSpi
method as per the specification in
AbstractPreferences.syncSpi()
.
This implementation does nothing.
syncSpi
in class AbstractPreferences
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 |