Class BinaryPreferences
- java.lang.Object
-
- java.util.prefs.Preferences
-
- java.util.prefs.AbstractPreferences
-
- org.pentaho.reporting.designer.core.settings.prefs.BinaryPreferences
-
public class BinaryPreferences extends AbstractPreferences
Todo: Document Me- Author:
- Thomas Morgner
-
-
Field Summary
-
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
Constructors Constructor Description BinaryPreferences(String rootPath)
BinaryPreferences(BinaryPreferences parent, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String[]
childrenNamesSpi()
protected AbstractPreferences
childSpi(String name)
protected void
flushSpi()
long
getLastModificationTime()
protected String
getSpi(String key)
protected String[]
keysSpi()
protected void
putSpi(String key, String value)
protected void
removeNodeSpi()
protected void
removeSpi(String key)
protected void
syncSpi()
-
Methods inherited from class java.util.prefs.AbstractPreferences
absolutePath, addNodeChangeListener, addPreferenceChangeListener, cachedChildren, childrenNames, clear, exportNode, exportSubtree, flush, 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, sync, toString
-
Methods inherited from class java.util.prefs.Preferences
importPreferences, systemNodeForPackage, systemRoot, userNodeForPackage, userRoot
-
-
-
-
Constructor Detail
-
BinaryPreferences
public BinaryPreferences(String rootPath)
-
BinaryPreferences
public BinaryPreferences(BinaryPreferences parent, String name)
-
-
Method Detail
-
putSpi
protected void putSpi(String key, String value)
- Specified by:
putSpi
in classAbstractPreferences
-
getSpi
protected String getSpi(String key)
- Specified by:
getSpi
in classAbstractPreferences
-
removeSpi
protected void removeSpi(String key)
- Specified by:
removeSpi
in classAbstractPreferences
-
getLastModificationTime
public long getLastModificationTime()
-
keysSpi
protected String[] keysSpi() throws BackingStoreException
- Specified by:
keysSpi
in classAbstractPreferences
- Throws:
BackingStoreException
-
childrenNamesSpi
protected String[] childrenNamesSpi() throws BackingStoreException
- Specified by:
childrenNamesSpi
in classAbstractPreferences
- Throws:
BackingStoreException
-
childSpi
protected AbstractPreferences childSpi(String name)
- Specified by:
childSpi
in classAbstractPreferences
-
syncSpi
protected void syncSpi() throws BackingStoreException
- Specified by:
syncSpi
in classAbstractPreferences
- Throws:
BackingStoreException
-
flushSpi
protected void flushSpi() throws BackingStoreException
- Specified by:
flushSpi
in classAbstractPreferences
- Throws:
BackingStoreException
-
removeNodeSpi
protected void removeNodeSpi() throws BackingStoreException
- Specified by:
removeNodeSpi
in classAbstractPreferences
- Throws:
BackingStoreException
-
-