public class DefaultProxy extends java.lang.Object implements IConfigProxy
| Constructor and Description |
|---|
DefaultProxy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSerializeObject(java.lang.Object o)
Checks if the object passed can be serialized by this proxy
|
java.lang.Object |
deserialize(java.lang.String key,
java.lang.String s)
Deserializes an object from a String
|
java.lang.String |
getKey(java.lang.Object o)
Returns the key representing the object
|
boolean |
isKeyUsable(java.lang.String key)
Checks if the key passed represents a config option type that can be deserialized by this
|
java.lang.String |
serialize(java.lang.Object o)
Serializes an object into a (single line) string
|
public boolean canSerializeObject(java.lang.Object o)
IConfigProxycanSerializeObject in interface IConfigProxyo - The object to checkpublic boolean isKeyUsable(java.lang.String key)
IConfigProxyisKeyUsable in interface IConfigProxykey - The key of the config typepublic java.lang.String getKey(java.lang.Object o)
IConfigProxygetKey in interface IConfigProxyo - The objectpublic java.lang.String serialize(java.lang.Object o)
throws ConfigException
IConfigProxyserialize in interface IConfigProxyo - The object to serializeConfigExceptionpublic java.lang.Object deserialize(java.lang.String key,
java.lang.String s)
throws ConfigException
IConfigProxydeserialize in interface IConfigProxykey - The key representing the object types - The stringConfigException