|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.beepcore.beep.profile.ProfileConfiguration
The Configuration class (which can be extended of course) is designed to allow for the provision of profile-specific settings, as well as the storage of profile-specific data. It can be extended by those implementing profile libraries at will.
Constructor Summary | |
ProfileConfiguration()
|
Method Summary | |
java.lang.String |
getProperty(java.lang.String key)
Searches for the property with the specified key in this ProfileConfiguration. |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Searches for the property with the specified key in this ProfileConfiguration. |
java.util.Enumeration |
propertyNames()
Returns an enumeration of all the keys in this ProfileConfiguration. |
java.lang.String |
setProperty(java.lang.String key,
java.lang.String value)
Stores the value with the associated key in this ProfileConfiguration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProfileConfiguration()
Method Detail |
public java.lang.String getProperty(java.lang.String key)
key
- the property key.
public java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
defaultValue
is returned.
key
- the property key.defaultValue
- a default value.
defaultValue
if it is not found.public java.util.Enumeration propertyNames()
public java.lang.String setProperty(java.lang.String key, java.lang.String value)
null
if it did not have
one.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |