public class PropertiesService
extends java.lang.Object
Constructor and Description |
---|
PropertiesService() |
Modifier and Type | Method and Description |
---|---|
java.util.Properties |
getProperties() |
java.lang.String |
getProperty(java.lang.String name) |
boolean |
isPassOn() |
boolean |
isQueryEnvOnInit() |
boolean |
isSet(java.lang.String name)
ISSUE: It might be of help to differentiate between unavailable property
and boolean property set to false
|
void |
putAll(java.util.Properties props) |
void |
setPassOn(boolean passOn) |
java.lang.String |
setProperty(java.lang.String name,
java.lang.String value)
Set value to a property.
|
void |
setQueryEnvOnInit(boolean queryEnvOnInit) |
public java.lang.String setProperty(java.lang.String name, java.lang.String value)
System.setProperty(String, String)
name
- property namevalue
- property valuepublic java.lang.String getProperty(java.lang.String name)
public boolean isSet(java.lang.String name)
name
- property namepublic void putAll(java.util.Properties props)
public java.util.Properties getProperties()
public boolean isPassOn()
public void setPassOn(boolean passOn)
public boolean isQueryEnvOnInit()
public void setQueryEnvOnInit(boolean queryEnvOnInit)