protected class AbstractHierarchicalFileConfiguration.FileConfigurationDelegate extends AbstractFileConfiguration
FileConfiguration
interface that is
used internally to implement the FileConfiguration
methods
for hierarchical configurations.autoSave, basePath, EVENT_RELOAD, fileName, 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, 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
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, 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 © 2018 JBoss by Red Hat. All rights reserved.