public class SharedProperties
extends java.lang.Object
implements ej.util.property.PropertyLoader
Constructor and Description |
---|
SharedProperties()
Creates a new shared properties implementation.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProperty(java.lang.String key) |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue) |
java.lang.String |
setProperty(java.lang.String key,
java.lang.String value)
Sets the property indicated by the specified key.
|
public SharedProperties()
public java.lang.String setProperty(java.lang.String key, java.lang.String value)
key
- the key to be placed into this property list.value
- the value corresponding to the key.public java.lang.String getProperty(java.lang.String key)
getProperty
in interface ej.util.property.PropertyLoader
public java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
getProperty
in interface ej.util.property.PropertyLoader