|
||||||||||
| 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(java.lang.String resource)
Access a Properties-based Configuration. |
|
| Method Summary | |
|---|---|
java.util.Properties |
getProperties()
Retrieve a properties file, opening it if necessary. |
java.lang.String |
getProperty(java.lang.String property)
Get value of property. |
java.util.Set<java.lang.String> |
keySet()
return the set of keys |
java.lang.String |
setProperty(java.lang.String property,
java.lang.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(java.lang.String resource)
Configuration.
resource - Resource to use for opening properties file as an InputStream.| Method Detail |
|---|
public java.util.Properties getProperties()
public java.lang.String getProperty(java.lang.String property)
throws java.lang.IllegalArgumentException
Configuration
getProperty in interface Configurationproperty - Get this property.
java.lang.IllegalArgumentException - if property is null.Configuration.getProperty(String)
public java.lang.String setProperty(java.lang.String property,
java.lang.String value)
setProperty in interface Configurationproperty - Set this property.value - Value to set on this property.
Configuration.setProperty(String, String)public java.util.Set<java.lang.String> keySet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||