org.apache.commons.configuration
Class XMLConfiguration.XMLFileConfigurationDelegate

java.lang.Object
  extended by org.apache.commons.configuration.event.EventSource
      extended by org.apache.commons.configuration.AbstractConfiguration
          extended by org.apache.commons.configuration.BaseConfiguration
              extended by org.apache.commons.configuration.AbstractFileConfiguration
                  extended by org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.FileConfigurationDelegate
                      extended by org.apache.commons.configuration.XMLConfiguration.XMLFileConfigurationDelegate
All Implemented Interfaces:
java.lang.Cloneable, Configuration, FileConfiguration
Enclosing class:
XMLConfiguration

private class XMLConfiguration.XMLFileConfigurationDelegate
extends AbstractHierarchicalFileConfiguration.FileConfigurationDelegate

A special implementation of the FileConfiguration interface that is used internally to implement the FileConfiguration methods for XMLConfiguration, too.


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
private XMLConfiguration.XMLFileConfigurationDelegate()
           
 
Method Summary
 void load(java.io.InputStream in)
          Load the configuration from the specified stream, using the encoding returned by AbstractFileConfiguration.getEncoding().
 
Methods inherited from class org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.FileConfigurationDelegate
clear, load, save
 
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, 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
addErrorLogListener, append, copy, 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, interpolatedConfiguration, 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
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

XMLConfiguration.XMLFileConfigurationDelegate

private XMLConfiguration.XMLFileConfigurationDelegate()
Method Detail

load

public void load(java.io.InputStream in)
          throws ConfigurationException
Description copied from class: AbstractFileConfiguration
Load the configuration from the specified stream, using the encoding returned by AbstractFileConfiguration.getEncoding().

Specified by:
load in interface FileConfiguration
Overrides:
load in class AbstractFileConfiguration
Parameters:
in - the input stream
Throws:
ConfigurationException - if an error occurs during the load operation