protected class AbstractHierarchicalFileConfiguration.FileConfigurationDelegate extends AbstractFileConfiguration
FileConfiguration
interface that is
used internally to implement the FileConfiguration
methods
for hierarchical configurations.autoSave, basePath, EVENT_CONFIG_CHANGED, EVENT_RELOAD, fileName, reloadLock, strategy
END_TOKEN, EVENT_ADD_PROPERTY, EVENT_CLEAR, EVENT_CLEAR_PROPERTY, EVENT_READ_PROPERTY, EVENT_SET_PROPERTY, START_TOKEN
Modifier | Constructor and Description |
---|---|
protected |
AbstractHierarchicalFileConfiguration.FileConfigurationDelegate() |
Modifier and Type | Method and Description |
---|---|
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.
|
addProperty, clearProperty, clone, closeSilent, configurationChanged, containsKey, enterNoReload, exitNoReload, fireEvent, getBasePath, getEncoding, getFile, getFileName, getFileSystem, getKeys, getPath, getProperty, getReloadingStrategy, getReloadLock, getURL, isAutoSave, isEmpty, load, load, load, load, load, load, possiblySave, refresh, reload, reload, resetFileSystem, save, save, save, save, save, save, setAutoSave, setBasePath, setEncoding, setFile, setFileName, setFileSystem, setPath, setProperty, setReloadingStrategy, setURL
addPropertyDirect, clearPropertyDirect
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, isScalarValue, isThrowExceptionOnMissing, resolveContainerStore, setDefaultListDelimiter, setDelimiter, setDelimiterParsingDisabled, setListDelimiter, setLogger, setThrowExceptionOnMissing, subset
addConfigurationListener, addErrorListener, clearConfigurationListeners, clearErrorListeners, createErrorEvent, createEvent, fireError, getConfigurationListeners, getErrorListeners, isDetailEvents, removeConfigurationListener, removeErrorListener, setDetailEvents
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
protected AbstractHierarchicalFileConfiguration.FileConfigurationDelegate()
public void load(Reader in) throws ConfigurationException
FileConfiguration
in
- the readerConfigurationException
- if an error occurs during the load operationpublic void save(Writer out) throws ConfigurationException
FileConfiguration
out
- the writerConfigurationException
- if an error occurs during the save operationpublic void clear()
Configuration
clear
in interface Configuration
clear
in class BaseConfiguration
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.