|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.configuration.AbstractConfiguration
org.apache.commons.configuration.BaseConfiguration
org.apache.commons.configuration.BasePathConfiguration
This is exactly the same as the BaseConfiguration but the backing store is based on a path (e.g. a file path) from which it is loaded.
| Nested Class Summary |
| Nested classes inherited from class org.apache.commons.configuration.AbstractConfiguration |
AbstractConfiguration.Container, AbstractConfiguration.PropertiesTokenizer |
| Field Summary | |
private java.lang.String |
basePath
Base path of the configuration file used to create this Configuration object. |
| Fields inherited from class org.apache.commons.configuration.BaseConfiguration |
|
| Fields inherited from class org.apache.commons.configuration.AbstractConfiguration |
defaults, END_TOKEN, START_TOKEN |
| Constructor Summary | |
BasePathConfiguration()
|
|
| Method Summary | |
java.lang.String |
getBasePath()
Returns the Base path from which this Configuration Factory operates. |
void |
setBasePath(java.lang.String basePath)
Sets the basePath for all file references from this Configuration Factory. |
| Methods inherited from class org.apache.commons.configuration.BaseConfiguration |
addPropertyDirect, clearProperty, containsKey, getKeys, getPropertyDirect, isEmpty |
| Methods inherited from class org.apache.commons.configuration.AbstractConfiguration |
addProperty, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getKeys, getList, getList, getLong, getLong, getLong, getProperties, getProperties, getProperty, getShort, getShort, getShort, getString, getString, getStringArray, interpolate, interpolateHelper, processString, setProperty, subset, testBoolean |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.lang.String basePath
| Constructor Detail |
public BasePathConfiguration()
| Method Detail |
public java.lang.String getBasePath()
getBasePath in interface BasePathLoaderpublic void setBasePath(java.lang.String basePath)
setBasePath in interface BasePathLoaderbasePath - The new basePath to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||