|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.configuration.event.EventSource
org.apache.commons.configuration.AbstractConfiguration
org.apache.commons.configuration.BaseConfiguration
org.apache.commons.configuration.AbstractFileConfiguration
org.apache.commons.configuration.PropertiesConfiguration
com.parabon.ec.util.LocatedPropertiesConfiguration
public class LocatedPropertiesConfiguration
A properties configuration database where the file each property was read from is stored with the property along with its value.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.commons.configuration.PropertiesConfiguration |
|---|
org.apache.commons.configuration.PropertiesConfiguration.PropertiesReader, org.apache.commons.configuration.PropertiesConfiguration.PropertiesWriter |
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.configuration.AbstractFileConfiguration |
|---|
autoSave, basePath, EVENT_RELOAD, fileName, strategy |
| Fields inherited from class org.apache.commons.configuration.AbstractConfiguration |
|---|
END_TOKEN, EVENT_ADD_PROPERTY, EVENT_CLEAR, EVENT_CLEAR_PROPERTY, EVENT_READ_PROPERTY, EVENT_SET_PROPERTY, START_TOKEN |
| Constructor Summary | |
|---|---|
LocatedPropertiesConfiguration()
Constructs empty database. |
|
LocatedPropertiesConfiguration(java.io.File file)
Constructs database loaded from property file. |
|
LocatedPropertiesConfiguration(java.lang.String filename)
Constructs database loaded from a property file. |
|
| Method Summary | |
|---|---|
protected void |
addPropertyDirect(java.lang.String key,
java.lang.Object value)
|
java.lang.String |
getOrigin()
Gets the origin of parameters in this database. |
void |
setOrigin(java.lang.String location)
Sets the origin of the parameters loaded into this database. |
| Methods inherited from class org.apache.commons.configuration.PropertiesConfiguration |
|---|
clone, createLayout, getHeader, getInclude, getIncludesAllowed, getLayout, load, save, setBasePath, setHeader, setInclude, setIncludesAllowed, setLayout, unescapeJava |
| Methods inherited from class org.apache.commons.configuration.AbstractFileConfiguration |
|---|
addProperty, clearProperty, containsKey, enterNoReload, exitNoReload, fireEvent, getBasePath, getEncoding, getFile, getFileName, getKeys, getPath, getProperty, getReloadingStrategy, getURL, isAutoSave, isEmpty, load, load, load, load, load, load, possiblySave, reload, save, save, save, save, save, save, setAutoSave, setEncoding, setFile, setFileName, setPath, setProperty, setReloadingStrategy, setURL |
| Methods inherited from class org.apache.commons.configuration.BaseConfiguration |
|---|
clear, clearPropertyDirect |
| Methods inherited from class org.apache.commons.configuration.AbstractConfiguration |
|---|
addErrorLogListener, createInterpolator, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDefaultListDelimiter, getDelimiter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getInterpolator, getKeys, getList, getList, getListDelimiter, getLogger, getLong, getLong, getLong, getProperties, getProperties, getShort, getShort, getShort, getString, getString, getStringArray, getSubstitutor, interpolate, interpolate, interpolateHelper, isDelimiterParsingDisabled, isThrowExceptionOnMissing, resolveContainerStore, setDefaultListDelimiter, setDelimiter, setDelimiterParsingDisabled, setListDelimiter, setLogger, setThrowExceptionOnMissing, subset |
| Methods inherited from class org.apache.commons.configuration.event.EventSource |
|---|
addConfigurationListener, addErrorListener, clearConfigurationListeners, clearErrorListeners, createErrorEvent, createEvent, fireError, getConfigurationListeners, getErrorListeners, isDetailEvents, removeConfigurationListener, removeErrorListener, setDetailEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.commons.configuration.Configuration |
|---|
clear, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getKeys, getList, getList, getLong, getLong, getLong, getProperties, getShort, getShort, getShort, getString, getString, getStringArray, subset |
| Constructor Detail |
|---|
public LocatedPropertiesConfiguration()
public LocatedPropertiesConfiguration(java.lang.String filename)
throws org.apache.commons.configuration.ConfigurationException
filename - Property file
org.apache.commons.configuration.ConfigurationException
public LocatedPropertiesConfiguration(java.io.File file)
throws org.apache.commons.configuration.ConfigurationException
file - Property file
org.apache.commons.configuration.ConfigurationException| Method Detail |
|---|
public void setOrigin(java.lang.String location)
location - Human-readable origin string.public java.lang.String getOrigin()
protected void addPropertyDirect(java.lang.String key,
java.lang.Object value)
addPropertyDirect in class org.apache.commons.configuration.BaseConfiguration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||