public class OtrConfigurator
extends java.lang.Object
ConfigurationService
and the
OTR Plugin.Constructor and Description |
---|
OtrConfigurator() |
Modifier and Type | Method and Description |
---|---|
void |
appendProperty(java.lang.String id,
java.lang.Object value)
Appends value to the old value of the property with the
specified name.
|
java.util.List<java.lang.String> |
getAppendedProperties(java.lang.String id) |
boolean |
getPropertyBoolean(java.lang.String id,
boolean defaultValue)
Gets the value of a specific property as a boolean (
ConfigurationService.getBoolean(String, boolean) proxy). |
byte[] |
getPropertyBytes(java.lang.String id)
Returns the value of the property with the specified name or null if no
such property exists (
ConfigurationService.getProperty(String)
proxy). |
int |
getPropertyInt(java.lang.String id,
int defaultValue)
Gets the value of a specific property as a signed decimal integer.
|
void |
removeProperty(java.lang.String id)
Removes the property with the specified name (
ConfigurationService.removeProperty(String) proxy). |
void |
setProperty(java.lang.String id,
byte[] value)
Sets the property with the specified name to the specified value (
ConfigurationService.setProperty(String, Object) proxy). |
void |
setProperty(java.lang.String id,
java.lang.Object value)
Sets the property with the specified name to the specified value (
ConfigurationService.setProperty(String, Object) proxy). |
public byte[] getPropertyBytes(java.lang.String id)
ConfigurationService.getProperty(String)
proxy).id
- of the property that is being queried.public boolean getPropertyBoolean(java.lang.String id, boolean defaultValue)
ConfigurationService.getBoolean(String, boolean)
proxy).id
- of the property that is being queried.defaultValue
- the value to be returned if the specified property
name is not associated with a value.public void setProperty(java.lang.String id, byte[] value)
ConfigurationService.setProperty(String, Object)
proxy). The
value is Base64 encoded.id
- the name of the property to change.value
- the new value of the specified property.public void setProperty(java.lang.String id, java.lang.Object value)
ConfigurationService.setProperty(String, Object)
proxy).id
- the name of the property to change.value
- the new value of the specified property.public void removeProperty(java.lang.String id)
ConfigurationService.removeProperty(String)
proxy).id
- the name of the property to change.public int getPropertyInt(java.lang.String id, int defaultValue)
id
- the name of the property to change.defaultValue
- the value to be returned if the specified property
name is not associated with a value.public void appendProperty(java.lang.String id, java.lang.Object value)
id
- the name of the property to append tovalue
- the value to appendpublic java.util.List<java.lang.String> getAppendedProperties(java.lang.String id)
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.