public class INIBuilderParametersImpl extends HierarchicalBuilderParametersImpl implements INIBuilderProperties<INIBuilderParametersImpl>
A specialized parameters class for INI configuration.
This parameters class defines some properties which allow customizing the parsing and writing of INI documents.
This class is not thread-safe. It is intended that an instance is constructed
and initialized by a single thread during configuration of a
ConfigurationBuilder
.
RESERVED_PARAMETER_PREFIX
Constructor and Description |
---|
INIBuilderParametersImpl() |
Modifier and Type | Method and Description |
---|---|
void |
inheritFrom(Map<String,?> source)
Inherits properties from the specified map.
|
INIBuilderParametersImpl |
setSeparatorUsedInOutput(String separator)
Allows setting the separator between key and value to be used when
writing an INI file.
|
setExpressionEngine
clone, fromMap, fromParameters, fromParameters, getFileHandler, getParameters, getReloadingDetectorFactory, getReloadingRefreshDelay, setBasePath, setEncoding, setFile, setFileName, setFileSystem, setLocationStrategy, setPath, setReloadingDetectorFactory, setReloadingRefreshDelay, setURL
copyPropertiesFrom, fetchBeanHelper, fetchInterpolatorSpecification, fetchProperty, merge, setBeanHelper, setConfigurationDecoder, setConversionHandler, setDefaultLookups, setInterpolator, setListDelimiterHandler, setLogger, setParentInterpolator, setPrefixLookups, setSynchronizer, setThrowExceptionOnMissing, storeProperty
public void inheritFrom(Map<String,?> source)
HierarchicalBuilderParametersImpl
ConfigurationInterpolator
- are tightly connected to a
configuration and cannot be reused in a different context. For other
properties, e.g. a file name, it does not make sense to copy it.
Therefore, an implementation has to be explicit in the properties it
wants to take over. This implementation takes some properties defined in this
class into account. This implementation copies some more properties defined by
this class.inheritFrom
in class HierarchicalBuilderParametersImpl
source
- the source properties to inherit frompublic INIBuilderParametersImpl setSeparatorUsedInOutput(String separator)
INIBuilderProperties
setSeparatorUsedInOutput
in interface INIBuilderProperties<INIBuilderParametersImpl>
separator
- the new separator for INI outputCopyright © 2001–2018 The Apache Software Foundation. All rights reserved.