|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.webwork.config.Configuration
com.opensymphony.webwork.config.PropertiesConfiguration
public class PropertiesConfiguration
A class to handle configuration via a properties file.
| Constructor Summary | |
|---|---|
PropertiesConfiguration(String name)
Creates a new properties config given the name of a properties file. |
|
| Method Summary | |
|---|---|
Object |
getImpl(String aName)
Gets a property from the properties file. |
boolean |
isSetImpl(String aName)
Tests to see if a property exists in the properties file. |
Iterator |
listImpl()
Lists all keys in the properties file. |
void |
setImpl(String aName,
Object aValue)
Sets a property in the properties file. |
| Methods inherited from class com.opensymphony.webwork.config.Configuration |
|---|
get, getConfiguration, getLocale, getString, isSet, list, reset, set, setConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesConfiguration(String name)
name - the name of the properties file, excluding the ".properties" extension.| Method Detail |
|---|
public void setImpl(String aName,
Object aValue)
setImpl in class ConfigurationConfiguration.set(String, Object)
public Object getImpl(String aName)
throws IllegalArgumentException
getImpl in class ConfigurationIllegalArgumentExceptionConfiguration.get(String)public boolean isSetImpl(String aName)
isSetImpl in class ConfigurationConfiguration.isSet(String)public Iterator listImpl()
listImpl in class ConfigurationConfiguration.list()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||