|
Openfire 3.6.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.util.JiveProperties
public class JiveProperties
Retrieves and stores Jive properties. Properties are stored in the database.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Method Summary | |
---|---|
void |
clear()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Set<Map.Entry<String,String>> |
entrySet()
|
String |
get(Object key)
|
boolean |
getBooleanProperty(String name)
|
boolean |
getBooleanProperty(String name,
boolean defaultValue)
|
Collection<String> |
getChildrenNames(String parentKey)
Return all children property names of a parent property as a Collection of String objects. |
static JiveProperties |
getInstance()
Returns a singleton instance of JiveProperties. |
String |
getProperty(String name,
String defaultValue)
|
Collection<String> |
getPropertyNames()
Returns all property names as a Collection of String values. |
void |
init()
For internal use only. |
boolean |
isEmpty()
|
Set<String> |
keySet()
|
String |
put(String key,
String value)
|
void |
putAll(Map<? extends String,? extends String> t)
|
String |
remove(Object key)
|
int |
size()
|
Collection<String> |
values()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Method Detail |
---|
public static JiveProperties getInstance()
public void init()
public int size()
size
in interface Map<String,String>
public void clear()
clear
in interface Map<String,String>
public boolean isEmpty()
isEmpty
in interface Map<String,String>
public boolean containsKey(Object key)
containsKey
in interface Map<String,String>
public boolean containsValue(Object value)
containsValue
in interface Map<String,String>
public Collection<String> values()
values
in interface Map<String,String>
public void putAll(Map<? extends String,? extends String> t)
putAll
in interface Map<String,String>
public Set<Map.Entry<String,String>> entrySet()
entrySet
in interface Map<String,String>
public Set<String> keySet()
keySet
in interface Map<String,String>
public String get(Object key)
get
in interface Map<String,String>
public Collection<String> getChildrenNames(String parentKey)
parentKey
- the name of the parent property.
public Collection<String> getPropertyNames()
public String remove(Object key)
remove
in interface Map<String,String>
public String put(String key, String value)
put
in interface Map<String,String>
public String getProperty(String name, String defaultValue)
public boolean getBooleanProperty(String name)
public boolean getBooleanProperty(String name, boolean defaultValue)
|
Openfire 3.6.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |