|
||||||||||
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.AbstractHierarchicalFileConfiguration.FileConfigurationDelegate
protected class AbstractHierarchicalFileConfiguration.FileConfigurationDelegate
A special implementation of the FileConfiguration
interface that is
used internally to implement the FileConfiguration
methods
for hierarchical configurations.
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_SET_PROPERTY, START_TOKEN |
Constructor Summary | |
---|---|
protected |
AbstractHierarchicalFileConfiguration.FileConfigurationDelegate()
|
Method Summary | |
---|---|
void |
clear()
Remove all properties from the configuration. |
void |
load(Reader in)
Load the configuration from the specified reader. |
void |
save(Writer out)
Save the configuration to the specified writer. |
Methods inherited from class org.apache.commons.configuration.AbstractFileConfiguration |
---|
addProperty, clearProperty, clone, 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, setBasePath, setEncoding, setFile, setFileName, setPath, setProperty, setReloadingStrategy, setURL |
Methods inherited from class org.apache.commons.configuration.BaseConfiguration |
---|
addPropertyDirect, clearPropertyDirect |
Methods inherited from class org.apache.commons.configuration.AbstractConfiguration |
---|
getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDefaultListDelimiter, getDelimiter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getKeys, getList, getList, getListDelimiter, getLong, getLong, getLong, getProperties, getProperties, getShort, getShort, getShort, getString, getString, getStringArray, interpolate, interpolate, interpolateHelper, isDelimiterParsingDisabled, isThrowExceptionOnMissing, resolveContainerStore, setDefaultListDelimiter, setDelimiter, setDelimiterParsingDisabled, setListDelimiter, setThrowExceptionOnMissing, subset |
Methods inherited from class org.apache.commons.configuration.event.EventSource |
---|
addConfigurationListener, clearConfigurationListeners, createEvent, getConfigurationListeners, isDetailEvents, removeConfigurationListener, 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 |
---|
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 |
---|
protected AbstractHierarchicalFileConfiguration.FileConfigurationDelegate()
Method Detail |
---|
public void load(Reader in) throws ConfigurationException
FileConfiguration
in
- the reader
ConfigurationException
- if an error occurs during the load operationpublic void save(Writer out) throws ConfigurationException
FileConfiguration
out
- the writer
ConfigurationException
- if an error occurs during the save operationpublic void clear()
BaseConfiguration
clear
in interface Configuration
clear
in class BaseConfiguration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |