org.apache.commons.configuration
Class AbstractHierarchicalFileConfiguration.FileConfigurationDelegate

java.lang.Object
  |
  +--org.apache.commons.configuration.AbstractConfiguration
        |
        +--org.apache.commons.configuration.BaseConfiguration
              |
              +--org.apache.commons.configuration.AbstractFileConfiguration
                    |
                    +--org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.FileConfigurationDelegate
All Implemented Interfaces:
Configuration, FileConfiguration
Enclosing class:
AbstractHierarchicalFileConfiguration

protected class AbstractHierarchicalFileConfiguration.FileConfigurationDelegate
extends AbstractFileConfiguration

A special implementation of the FileConfiguration interface that is used internally to implement the FileConfiguration methods for hierarchical configurations.


Fields inherited from class org.apache.commons.configuration.AbstractFileConfiguration
autoSave, basePath, fileName, strategy
 
Fields inherited from class org.apache.commons.configuration.AbstractConfiguration
END_TOKEN, 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
addPropertyDirect, clearProperty, containsKey, enterNoReload, exitNoReload, 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, setReloadingStrategy, setURL
 
Methods inherited from class org.apache.commons.configuration.AbstractConfiguration
addProperty, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDelimiter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getKeys, getList, getList, getLong, getLong, getLong, getProperties, getProperties, getShort, getShort, getShort, getString, getString, getStringArray, interpolate, interpolate, interpolateHelper, isThrowExceptionOnMissing, resolveContainerStore, setDelimiter, setProperty, setThrowExceptionOnMissing, subset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.configuration.Configuration
addProperty, 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, setProperty, subset
 

Constructor Detail

AbstractHierarchicalFileConfiguration.FileConfigurationDelegate

protected AbstractHierarchicalFileConfiguration.FileConfigurationDelegate()
Method Detail

load

public void load(Reader in)
          throws ConfigurationException
Description copied from interface: FileConfiguration
Load the configuration from the specified reader.
Following copied from interface: org.apache.commons.configuration.FileConfiguration
Parameters:
in - the reader
Throws:
ConfigurationException - if an error occurs during the load operation

save

public void save(Writer out)
          throws ConfigurationException
Description copied from interface: FileConfiguration
Save the configuration to the specified writer.
Following copied from interface: org.apache.commons.configuration.FileConfiguration
Parameters:
out - the writer
Throws:
ConfigurationException - if an error occurs during the save operation

clear

public void clear()
Description copied from interface: Configuration
Remove all properties from the configuration.
Overrides:
clear in class BaseConfiguration


Copyright © 2001-2005 The Apache Software Foundation. All Rights Reserved.