|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.configuration.AbstractConfiguration org.apache.commons.configuration.SubsetConfiguration net.sourceforge.blogentis.plugins.impl.PrefsImpl
Nested Class Summary |
Nested classes inherited from class org.apache.commons.configuration.AbstractConfiguration |
|
Field Summary | |
protected Blog |
blog
|
protected java.lang.String |
prefix
|
protected java.util.Map |
store
|
Fields inherited from class org.apache.commons.configuration.SubsetConfiguration |
delimiter, parent |
Fields inherited from class org.apache.commons.configuration.AbstractConfiguration |
END_TOKEN, START_TOKEN |
Constructor Summary | |
PrefsImpl(Blog blog,
java.lang.String prefix)
|
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 class org.apache.commons.configuration.SubsetConfiguration |
addPropertyDirect, clearProperty, containsKey, getChildKey, getKeys, getKeys, getParent, getParentKey, getPropertyDirect, interpolate, isEmpty, isThrowExceptionOnMissing, setPrefix, setProperty, setThrowExceptionOnMissing, subset |
Methods inherited from class org.apache.commons.configuration.AbstractConfiguration |
addProperty, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDelimiter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getList, getList, getLong, getLong, getLong, getProperties, getProperties, getProperty, getShort, getShort, getShort, getString, getString, getStringArray, getVector, getVector, interpolateHelper, setDelimiter, split |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |
Field Detail |
protected java.util.Map store
protected java.lang.String prefix
protected Blog blog
Constructor Detail |
public PrefsImpl(Blog blog, java.lang.String prefix)
prefix
- Method Detail |
public java.lang.String getPrefix()
IPrefs
getPrefix
in interface IPrefs
public void setString(java.lang.String key, java.lang.String value)
IPrefs
setString
in interface IPrefs
key
- value
- public void save() throws java.lang.Exception
save
in interface IPrefs
java.lang.Exception
public void setInt(java.lang.String key, int value)
setInt
in interface IPrefs
public void setInt(java.lang.String key, java.lang.Integer value)
setInt
in interface IPrefs
public void setList(java.lang.String key, java.util.List value)
setList
in interface IPrefs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |