|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.configuration.HashtableConfigurationStore<T>
T - the hashtable extensionpublic abstract class HashtableConfigurationStore<T extends Hashtable>
| Field Summary | |
|---|---|
protected T |
properties
The Hashtable instance which stores the property name-value associations of this ConfigurationStore instance and which is effectively adapted by this instance to ConfigurationStore. |
| Constructor Summary | |
|---|---|
protected |
HashtableConfigurationStore(T properties)
|
| Method Summary | |
|---|---|
Object |
getProperty(String name)
Implements ConfigurationStore.getProperty(String). |
String[] |
getPropertyNames()
Implements ConfigurationStore.getPropertyNames(). |
boolean |
isSystemProperty(String name)
Implements ConfigurationStore.isSystemProperty(String). |
void |
removeProperty(String name)
Implements ConfigurationStore.removeProperty(String). |
void |
setNonSystemProperty(String name,
Object value)
Implements ConfigurationStore.setNonSystemProperty(String, Object). |
void |
setSystemProperty(String name)
Implements ConfigurationStore.setSystemProperty(String). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.java.sip.communicator.impl.configuration.ConfigurationStore |
|---|
reloadConfiguration, storeConfiguration |
| Field Detail |
|---|
protected final T extends Hashtable properties
| Constructor Detail |
|---|
protected HashtableConfigurationStore(T properties)
| Method Detail |
|---|
public Object getProperty(String name)
ConfigurationStore.getProperty(String). If this
ConfigurationStore contains a value associated with the
specified property name, returns it. Otherwise, searches for a system
property with the specified name and returns its value.
getProperty in interface ConfigurationStorename - the name of the property to get the value of
ConfigurationStore.getProperty(String)public String[] getPropertyNames()
ConfigurationStore.getPropertyNames(). Gets the names
of the properties which have values associated in this
ConfigurationStore.
getPropertyNames in interface ConfigurationStoreConfigurationStore.getPropertyNames()public boolean isSystemProperty(String name)
ConfigurationStore.isSystemProperty(String). Considers
a property to be system if the system properties contain a value
associated with its name.
isSystemProperty in interface ConfigurationStorename - the name of a property which is to be determined whether it
is a system property
ConfigurationStore.isSystemProperty(String)public void removeProperty(String name)
ConfigurationStore.removeProperty(String). Removes the
value association in this ConfigurationStore of the property
with a specific name. If the property with the specified name is not
associated with a value in this ConfigurationStore, does
nothing.
removeProperty in interface ConfigurationStorename - the name of the property which is to have its value
association in this ConfigurationStore removedConfigurationStore.removeProperty(String)
public void setNonSystemProperty(String name,
Object value)
ConfigurationStore.setNonSystemProperty(String, Object).
setNonSystemProperty in interface ConfigurationStorename - the name of the non-system property to be set to the
specified value in this ConfigurationStorevalue - the value to be assigned to the non-system property with the
specified name in this ConfigurationStoreConfigurationStore.setNonSystemProperty(String, Object)public void setSystemProperty(String name)
ConfigurationStore.setSystemProperty(String). Since
system properties are managed through the System class, setting
a property as system in this ConfigurationStore effectively
removes any existing value associated with the specified property name
from this instance.
setSystemProperty in interface ConfigurationStorename - the name of the property to be set as a system property in
this ConfigurationStoreConfigurationStore.setSystemProperty(String)
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||