public class PropertiesService extends Object
| Constructor and Description |
|---|
PropertiesService() |
| Modifier and Type | Method and Description |
|---|---|
Properties |
getProperties() |
String |
getProperty(String name) |
boolean |
isPassOn() |
boolean |
isQueryEnvOnInit() |
boolean |
isSet(String name)
ISSUE: It might be of help to differentiate between unavailable property
and boolean property set to false
|
void |
putAll(Properties props) |
void |
setPassOn(boolean passOn) |
String |
setProperty(String name,
String value)
Set value to a property.
|
void |
setQueryEnvOnInit(boolean queryEnvOnInit) |
public String setProperty(String name, String value)
System.setProperty(String, String)name - property namevalue - property valuepublic boolean isSet(String name)
name - property namepublic void putAll(Properties props)
public Properties getProperties()
public boolean isPassOn()
public void setPassOn(boolean passOn)
public boolean isQueryEnvOnInit()
public void setQueryEnvOnInit(boolean queryEnvOnInit)
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.