Package org.jabylon.common.util
Class AttachablePreferences
- java.lang.Object
-
- org.jabylon.common.util.AttachablePreferences
-
- All Implemented Interfaces:
Serializable,org.osgi.service.prefs.Preferences
public class AttachablePreferences extends Object implements org.osgi.service.prefs.Preferences, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttachablePreferences()AttachablePreferences(org.osgi.service.prefs.Preferences parent, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringabsolutePath()String[]childrenNames()voidclear()voidflush()Stringget(String arg0, String arg1)booleangetBoolean(String arg0, boolean arg1)byte[]getByteArray(String arg0, byte[] arg1)doublegetDouble(String arg0, double arg1)floatgetFloat(String arg0, float arg1)intgetInt(String arg0, int arg1)longgetLong(String arg0, long arg1)String[]keys()Stringname()org.osgi.service.prefs.Preferencesnode(String arg0)booleannodeExists(String arg0)org.osgi.service.prefs.Preferencesparent()voidput(String arg0, String arg1)voidputBoolean(String arg0, boolean arg1)voidputByteArray(String arg0, byte[] arg1)voidputDouble(String arg0, double arg1)voidputFloat(String arg0, float arg1)voidputInt(String arg0, int arg1)voidputLong(String arg0, long arg1)voidremove(String arg0)voidremoveNode()voidsync()StringtoString()
-
-
-
Constructor Detail
-
AttachablePreferences
public AttachablePreferences()
-
AttachablePreferences
public AttachablePreferences(org.osgi.service.prefs.Preferences parent, String name)
-
-
Method Detail
-
absolutePath
public String absolutePath()
- Specified by:
absolutePathin interfaceorg.osgi.service.prefs.Preferences
-
childrenNames
public String[] childrenNames() throws org.osgi.service.prefs.BackingStoreException
- Specified by:
childrenNamesin interfaceorg.osgi.service.prefs.Preferences- Throws:
org.osgi.service.prefs.BackingStoreException
-
clear
public void clear() throws org.osgi.service.prefs.BackingStoreException- Specified by:
clearin interfaceorg.osgi.service.prefs.Preferences- Throws:
org.osgi.service.prefs.BackingStoreException
-
flush
public void flush() throws org.osgi.service.prefs.BackingStoreException- Specified by:
flushin interfaceorg.osgi.service.prefs.Preferences- Throws:
org.osgi.service.prefs.BackingStoreException
-
get
public String get(String arg0, String arg1)
- Specified by:
getin interfaceorg.osgi.service.prefs.Preferences
-
getBoolean
public boolean getBoolean(String arg0, boolean arg1)
- Specified by:
getBooleanin interfaceorg.osgi.service.prefs.Preferences
-
getByteArray
public byte[] getByteArray(String arg0, byte[] arg1)
- Specified by:
getByteArrayin interfaceorg.osgi.service.prefs.Preferences
-
getDouble
public double getDouble(String arg0, double arg1)
- Specified by:
getDoublein interfaceorg.osgi.service.prefs.Preferences
-
getFloat
public float getFloat(String arg0, float arg1)
- Specified by:
getFloatin interfaceorg.osgi.service.prefs.Preferences
-
getInt
public int getInt(String arg0, int arg1)
- Specified by:
getIntin interfaceorg.osgi.service.prefs.Preferences
-
getLong
public long getLong(String arg0, long arg1)
- Specified by:
getLongin interfaceorg.osgi.service.prefs.Preferences
-
keys
public String[] keys() throws org.osgi.service.prefs.BackingStoreException
- Specified by:
keysin interfaceorg.osgi.service.prefs.Preferences- Throws:
org.osgi.service.prefs.BackingStoreException
-
name
public String name()
- Specified by:
namein interfaceorg.osgi.service.prefs.Preferences
-
node
public org.osgi.service.prefs.Preferences node(String arg0)
- Specified by:
nodein interfaceorg.osgi.service.prefs.Preferences
-
nodeExists
public boolean nodeExists(String arg0) throws org.osgi.service.prefs.BackingStoreException
- Specified by:
nodeExistsin interfaceorg.osgi.service.prefs.Preferences- Throws:
org.osgi.service.prefs.BackingStoreException
-
parent
public org.osgi.service.prefs.Preferences parent()
- Specified by:
parentin interfaceorg.osgi.service.prefs.Preferences
-
put
public void put(String arg0, String arg1)
- Specified by:
putin interfaceorg.osgi.service.prefs.Preferences
-
putBoolean
public void putBoolean(String arg0, boolean arg1)
- Specified by:
putBooleanin interfaceorg.osgi.service.prefs.Preferences
-
putByteArray
public void putByteArray(String arg0, byte[] arg1)
- Specified by:
putByteArrayin interfaceorg.osgi.service.prefs.Preferences
-
putDouble
public void putDouble(String arg0, double arg1)
- Specified by:
putDoublein interfaceorg.osgi.service.prefs.Preferences
-
putFloat
public void putFloat(String arg0, float arg1)
- Specified by:
putFloatin interfaceorg.osgi.service.prefs.Preferences
-
putInt
public void putInt(String arg0, int arg1)
- Specified by:
putIntin interfaceorg.osgi.service.prefs.Preferences
-
putLong
public void putLong(String arg0, long arg1)
- Specified by:
putLongin interfaceorg.osgi.service.prefs.Preferences
-
remove
public void remove(String arg0)
- Specified by:
removein interfaceorg.osgi.service.prefs.Preferences
-
removeNode
public void removeNode() throws org.osgi.service.prefs.BackingStoreException- Specified by:
removeNodein interfaceorg.osgi.service.prefs.Preferences- Throws:
org.osgi.service.prefs.BackingStoreException
-
sync
public void sync() throws org.osgi.service.prefs.BackingStoreException- Specified by:
syncin interfaceorg.osgi.service.prefs.Preferences- Throws:
org.osgi.service.prefs.BackingStoreException
-
-