public class PersistentBean extends java.lang.Object implements PersistenceManager
Constructor and Description |
---|
PersistentBean(java.lang.Object bean) |
Modifier and Type | Method and Description |
---|---|
void |
addPreferenceChangeListener(java.util.prefs.PreferenceChangeListener pcl) |
java.lang.String |
get(java.lang.String key,
java.lang.String def) |
boolean |
getBoolean(java.lang.String key,
boolean def) |
double |
getDouble(java.lang.String key,
double def) |
int |
getInt(java.lang.String key,
int def) |
java.util.List |
getList(java.lang.String key,
java.util.List def) |
long |
getLong(java.lang.String key,
long def) |
java.lang.Object |
getObject(java.lang.String name) |
void |
put(java.lang.String key,
java.lang.String value) |
void |
putBoolean(java.lang.String key,
boolean value) |
void |
putDouble(java.lang.String key,
double value) |
void |
putInt(java.lang.String key,
int value) |
void |
putList(java.lang.String key,
java.util.List value) |
void |
putLong(java.lang.String key,
long value) |
void |
putObject(java.lang.String name,
java.lang.Object value) |
public java.lang.Object getObject(java.lang.String name)
getObject
in interface PersistenceManager
public void putObject(java.lang.String name, java.lang.Object value)
putObject
in interface PersistenceManager
public void addPreferenceChangeListener(java.util.prefs.PreferenceChangeListener pcl)
addPreferenceChangeListener
in interface PersistenceManager
public java.lang.String get(java.lang.String key, java.lang.String def)
get
in interface PersistenceManager
public void put(java.lang.String key, java.lang.String value)
put
in interface PersistenceManager
public double getDouble(java.lang.String key, double def)
getDouble
in interface PersistenceManager
public void putDouble(java.lang.String key, double value)
putDouble
in interface PersistenceManager
public boolean getBoolean(java.lang.String key, boolean def)
getBoolean
in interface PersistenceManager
public void putBoolean(java.lang.String key, boolean value)
putBoolean
in interface PersistenceManager
public int getInt(java.lang.String key, int def)
getInt
in interface PersistenceManager
public void putInt(java.lang.String key, int value)
putInt
in interface PersistenceManager
public long getLong(java.lang.String key, long def)
getLong
in interface PersistenceManager
public void putLong(java.lang.String key, long value)
putLong
in interface PersistenceManager
public java.util.List getList(java.lang.String key, java.util.List def)
getList
in interface PersistenceManager
public void putList(java.lang.String key, java.util.List value)
putList
in interface PersistenceManager