|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.cfg.PropertiesConfiguration
public class PropertiesConfiguration
Access Configuration
in a Properties file.
Constructor Summary | |
---|---|
PropertiesConfiguration(String resource)
Access a Properties-based Configuration . |
Method Summary | |
---|---|
Properties |
getProperties()
Retrieve a properties file, opening it if necessary. |
String |
getProperty(String property)
Get value of property. |
Set<String> |
keySet()
return the set of keys |
String |
setProperty(String property,
String value)
Does not persist value to properties file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertiesConfiguration(String resource)
Configuration
.
resource
- Resource to use for opening properties file as an InputStream.Method Detail |
---|
public Properties getProperties()
public String getProperty(String property) throws IllegalArgumentException
Configuration
getProperty
in interface Configuration
property
- Get this property.
IllegalArgumentException
- if property is null.Configuration.getProperty(String)
public String setProperty(String property, String value)
setProperty
in interface Configuration
property
- Set this property.value
- Value to set on this property.
Configuration.setProperty(String, String)
public Set<String> keySet()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |