|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstract preferences store for plugins that are bound to blogs and need to keep persistent data around.
Method Summary | |
java.lang.String |
getPrefix()
The preferences are stored under a specific prefix, get it for us. |
void |
save()
|
void |
setInt(java.lang.String key,
int value)
|
void |
setInt(java.lang.String key,
java.lang.Integer value)
|
void |
setList(java.lang.String key,
java.util.List value)
|
void |
setString(java.lang.String key,
java.lang.String value)
Set the specified key to the given value |
Methods inherited from interface org.apache.commons.configuration.Configuration |
addProperty, clearProperty, containsKey, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getKeys, getKeys, getList, getList, getLong, getLong, getLong, getProperties, getProperty, getShort, getShort, getShort, getString, getString, getStringArray, getVector, getVector, isEmpty, setProperty, subset |
Method Detail |
public java.lang.String getPrefix()
public void setString(java.lang.String key, java.lang.String value)
key
- value
- public void setInt(java.lang.String key, int value)
public void setInt(java.lang.String key, java.lang.Integer value)
public void setList(java.lang.String key, java.util.List value)
public void save() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |