Uses of Interface
org.apache.commons.configuration2.Configuration
Packages that use Configuration
Package
Description
The Configuration main package.
In this package a
Configuration implementation can be found that implements the DynaBean interface.
A package containing the implementation of the builder for combined configurations.
Configuration classes supporting NeXT / OpenStep /GNUStep style configuration.
This package contains some implementations of the
Configuration interface that are useful in web
environments.-
Uses of Configuration in org.apache.commons.configuration2
Subinterfaces of Configuration in org.apache.commons.configuration2Modifier and TypeInterfaceDescriptioninterfaceAn interface which combines theFileBasedandConfigurationinterfaces.interfaceAn interface for mutable hierarchical configurations.Classes in org.apache.commons.configuration2 that implement ConfigurationModifier and TypeClassDescriptionclassAbstract configuration class.classA specialized configuration class that extends its base class by the ability of keeping more structure in the stored properties.classA base class for configuration implementations based on YAML structures.classBasic configuration class.classA specialized hierarchical configuration implementation that is based on a structure ofImmutableNodeobjects.classA hierarchical composite configuration class.classCompositeConfigurationallows you to add multipleConfigurationobjects to an aggregated configuration.classConfiguration stored in a database.classDecorator providing additional getters for any Configuration.classDynamicCombinedConfiguration allows a set of CombinedConfigurations to be used.classA Configuration implementation that reads the platform specific environment variables using the map returned bySystem.getenv().classA specialized hierarchical configuration implementation for parsing ini files.classThis Configuration class allows you to interface with a JNDI datasource.classA specialized hierarchical configuration class that is able to parse JSON documents.classA Map based Configuration.classWraps a BaseHierarchicalConfiguration and allows subtrees to be accessed via a configured path with replaceable tokens derived from the ConfigurationInterpolator.classThis is the "classic" Properties loader which loads the values from a single or multiple files (which can be chained with "include =".classA specialized hierarchical configuration class with a node model that uses a tracked node of another node model as its root node.classA subset of another configuration.classA configuration based on the system properties.classA specialized hierarchical configuration class that is able to parse XML documents.classThis configuration implements the XML properties format introduced in Java, see https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html.Fields in org.apache.commons.configuration2 declared as ConfigurationModifier and TypeFieldDescriptionprivate ConfigurationBaseConfigurationXMLReader.configStores the actual configuration.private final ConfigurationCombinedConfiguration.ConfigData.configurationStores a reference to the configuration.private final ConfigurationConfigurationMap.configurationTheConfigurationwrapped by this class.private final ConfigurationConfigurationMap.ConfigurationSet.configurationThe configuration mapped to this entry set.private final ConfigurationDataConfiguration.configurationStores the wrapped configuration.private final ConfigurationDynamicCombinedConfiguration.ConfigData.configurationStores a reference to the configuration.private ConfigurationCompositeConfiguration.inMemoryConfigurationConfiguration that holds in memory stuff.protected ConfigurationSubsetConfiguration.parentThe parent configuration.private final ConfigurationImmutableConfigurationInvocationHandler.wrappedConfigurationThe underlying configuration object.Fields in org.apache.commons.configuration2 with type parameters of type ConfigurationModifier and TypeFieldDescriptionprivate List<Configuration> CompositeConfiguration.configListList holding all the configurationprivate Map<String, Configuration> CombinedConfiguration.namedConfigurationsStores a map with the named configurations.private final Map<String, Configuration> DynamicCombinedConfiguration.namedConfigurationsStores a map with the named configurations.Methods in org.apache.commons.configuration2 that return ConfigurationModifier and TypeMethodDescriptionstatic ConfigurationConfigurationUtils.cloneConfiguration(Configuration config) Clones the given configuration object if this is possible.BaseConfigurationXMLReader.getConfiguration()Gets the actual configuration to be processed.CombinedConfiguration.ConfigData.getConfiguration()Gets the stored configuration.CombinedConfiguration.getConfiguration(int index) Gets the configuration at the specified index.CombinedConfiguration.getConfiguration(String name) Gets the configuration with the given name.CompositeConfiguration.getConfiguration(int index) Gets the configuration at the specified index.static ConfigurationConfigurationConverter.getConfiguration(Properties props) Convert a standard Properties class into a configuration class.ConfigurationMap.getConfiguration()Gets the wrappedConfigurationobject.DataConfiguration.getConfiguration()Gets the configuration decorated by this DataConfiguration.DynamicCombinedConfiguration.ConfigData.getConfiguration()Gets the stored configuration.DynamicCombinedConfiguration.getConfiguration(int index) Gets the configuration at the specified index.DynamicCombinedConfiguration.getConfiguration(String name) Gets the configuration with the given name.CompositeConfiguration.getInMemoryConfiguration()Gets the "in memory configuration".SubsetConfiguration.getParent()Gets the parent configuration for this subset.BaseConfigurationXMLReader.getParsedConfiguration()Gets the configuration to be processed.abstract ConfigurationConfigurationXMLReader.getParsedConfiguration()Gets a reference to the configuration that is parsed by this object.HierarchicalConfigurationXMLReader.getParsedConfiguration()Gets the configuration object to be processed.Gets the configuration source, in which the specified key is defined.Gets the configuration source, in which the specified key is defined.Gets the configuration source, in which the specified key is defined.AbstractConfiguration.interpolatedConfiguration()Returns a configuration with the same content as this configuration, but with all variables replaced by their actual values.BaseHierarchicalConfiguration.interpolatedConfiguration()Returns a configuration with the same content as this configuration, but with all variables replaced by their actual values.DynamicCombinedConfiguration.interpolatedConfiguration()PatternSubtreeConfigurationWrapper.interpolatedConfiguration()CombinedConfiguration.removeConfiguration(String name) Removes the configuration with the specified name.DynamicCombinedConfiguration.removeConfiguration(String name) Removes the configuration with the specified name.CombinedConfiguration.removeConfigurationAt(int index) Removes the configuration at the specified index.DynamicCombinedConfiguration.removeConfigurationAt(int index) Removes the configuration at the specified index.Creates a newConfigurationobject containing all keys that start with the specified prefix.Return a decorator Configuration containing every key from the current Configuration that starts with the specified prefix.Methods in org.apache.commons.configuration2 that return types with arguments of type ConfigurationModifier and TypeMethodDescriptionprivate Set<Configuration> CombinedConfiguration.findSourceConfigurations(ImmutableNode node) Determines the configurations to which the specified node belongs.CombinedConfiguration.getConfigurations()Gets a List of all the configurations that have been added.CombinedConfiguration.getSources(String key) Gets a set with the configuration sources, in which the specified key is defined.Methods in org.apache.commons.configuration2 with parameters of type ConfigurationModifier and TypeMethodDescriptionvoidCombinedConfiguration.addConfiguration(Configuration config) Adds a new configuration to this combined configuration.voidCombinedConfiguration.addConfiguration(Configuration config, String name) Adds a new configuration to this combined configuration with an optional name.voidCombinedConfiguration.addConfiguration(Configuration config, String name, String at) Adds a new configuration to this combined configuration.voidCompositeConfiguration.addConfiguration(Configuration config) Add a configuration.voidCompositeConfiguration.addConfiguration(Configuration config, boolean asInMemory) Adds a child configuration and optionally makes it the in-memory configuration.voidDynamicCombinedConfiguration.addConfiguration(Configuration config, String name, String at) Adds a new configuration to this combined configuration.voidCompositeConfiguration.addConfigurationFirst(Configuration config) Add a configuration to the start of the list of child configurations.voidCompositeConfiguration.addConfigurationFirst(Configuration config, boolean asInMemory) Adds a child configuration to the start of the collection and optionally makes it the in-memory configuration.voidAbstractConfiguration.append(Configuration c) Appends the content of the specified configuration to this configuration.static voidConfigurationUtils.append(Configuration source, Configuration target) Append all properties from the source configuration to the target configuration.static voidConfigurationUtils.append(ImmutableConfiguration source, Configuration target) Append all properties from the source configuration to the target configuration.private voidCompositeConfiguration.appendListProperty(List<Object> dest, Configuration config, String key) Adds the value of a property to the given list.static ConfigurationConfigurationUtils.cloneConfiguration(Configuration config) Clones the given configuration object if this is possible.booleanConfigurationComparator.compare(Configuration a, Configuration b) Compare two configuration objects.booleanStrictConfigurationComparator.compare(Configuration a, Configuration b) Compare two configuration objects.static HierarchicalConfiguration<?> ConfigurationUtils.convertToHierarchical(Configuration conf) Converts the passed in configuration to a hierarchical one.static HierarchicalConfiguration<?> ConfigurationUtils.convertToHierarchical(Configuration conf, ExpressionEngine engine) Converts the passed inConfigurationobject to a hierarchical one using the specifiedExpressionEngine.voidAbstractConfiguration.copy(Configuration c) Copies the content of the specified configuration into this configuration.static voidConfigurationUtils.copy(Configuration source, Configuration target) Copy all properties from the source configuration to the target configuration.static voidConfigurationUtils.copy(ImmutableConfiguration source, Configuration target) Copy all properties from the source configuration to the target configuration.private static ImmutableConfigurationConfigurationUtils.createUnmodifiableConfiguration(Class<?>[] ifcs, Configuration c) Helper method for creating a proxy for an unmodifiable configuration.static voidConfigurationUtils.dump(Configuration configuration, PrintStream out) Dump the configuration key/value mappings to some ouput stream.static voidConfigurationUtils.dump(Configuration configuration, PrintWriter out) Dump the configuration key/value mappings to some writer.static voidConfigurationUtils.enableRuntimeExceptions(Configuration src) Enables runtime exceptions for the specified configuration object.ConfigurationConverter.getMap(Configuration config) Convert a Configuration class into a Map class.static PropertiesConfigurationConverter.getProperties(Configuration config) Convert a Configuration class into a Properties class.protected StringHierarchicalConfigurationConverter.openElements(DefaultConfigurationKey keyLast, DefaultConfigurationKey keyAct, Configuration config, Set<String> keySet) Fires all necessary element start events for the specified key.voidHierarchicalConfigurationConverter.process(Configuration config) Processes the specified configuration object.private voidCombinedConfiguration.registerListenerAt(Configuration configuration) Registers this combined configuration as listener at the given child configuration.booleanCombinedConfiguration.removeConfiguration(Configuration config) Removes the specified configuration from this combined configuration.voidCompositeConfiguration.removeConfiguration(Configuration config) Remove a configuration.booleanDynamicCombinedConfiguration.removeConfiguration(Configuration config) Removes the specified configuration from this combined configuration.private voidCompositeConfiguration.replaceInMemoryConfiguration(Configuration config) Replaces the current in-memory configuration by the given one.voidBaseConfigurationXMLReader.setConfiguration(Configuration conf) Sets the configuration to be processed.static voidSystemConfiguration.setSystemProperties(Configuration systemConfig) Sets System properties from a configuration object.static StringConfigurationUtils.toString(Configuration configuration) Gets a string representation of the key/value mappings of a configuration.static ImmutableConfigurationConfigurationUtils.unmodifiableConfiguration(Configuration c) Creates anImmutableConfigurationfrom the givenConfigurationobject.private voidCombinedConfiguration.unregisterListenerAt(Configuration configuration) Removes this combined configuration as listener from the given child configuration.Constructors in org.apache.commons.configuration2 with parameters of type ConfigurationModifierConstructorDescriptionCreates a new instance ofBaseConfigurationXMLReaderand sets the configuration object to be parsed.CompositeConfiguration(Configuration inMemoryConfiguration) Creates a CompositeConfiguration object with a specified in-memory configuration.CompositeConfiguration(Configuration inMemoryConfiguration, Collection<? extends Configuration> configurations) Creates a CompositeConfiguration with a specified in-memory configuration, and then adds the given collection of configurations.ConfigData(Configuration config, String n, String at) Creates a new instance ofConfigDataand initializes it.ConfigData(Configuration config, String n, String at) Creates a new instance ofConfigDataand initializes it.ConfigurationMap(Configuration configuration) Creates a new instance of aConfigurationMapthat wraps the specifiedConfigurationinstance.(package private)ConfigurationSet(Configuration configuration) DataConfiguration(Configuration configuration) Creates a new instance ofDataConfigurationand sets the wrapped configuration.ImmutableConfigurationInvocationHandler(Configuration configuration) Creates a new instance ofImmutableConfigurationInvocationHandlerand initializes it with the wrapped configuration object.SubsetConfiguration(Configuration parent, String prefix) Create a subset of the specified configurationSubsetConfiguration(Configuration parent, String prefix, String delimiter) Create a subset of the specified configurationConstructor parameters in org.apache.commons.configuration2 with type arguments of type ConfigurationModifierConstructorDescriptionCompositeConfiguration(Collection<? extends Configuration> configurations) Create a CompositeConfiguration with an empty in memory configuration and adds the collection of configurations specified.CompositeConfiguration(Configuration inMemoryConfiguration, Collection<? extends Configuration> configurations) Creates a CompositeConfiguration with a specified in-memory configuration, and then adds the given collection of configurations. -
Uses of Configuration in org.apache.commons.configuration2.beanutils
Fields in org.apache.commons.configuration2.beanutils declared as ConfigurationModifier and TypeFieldDescriptionprivate final ConfigurationConfigurationDynaClass.configurationStores the associated configuration.Constructors in org.apache.commons.configuration2.beanutils with parameters of type ConfigurationModifierConstructorDescriptionConfigurationDynaBean(Configuration configuration) Constructs a new instance ofConfigurationDynaBeanand sets the configuration this bean is associated with.ConfigurationDynaClass(Configuration configuration) Constructs an instance of aConfigurationDynaClasswrapping the specifiedConfigurationinstance. -
Uses of Configuration in org.apache.commons.configuration2.builder.combined
Fields in org.apache.commons.configuration2.builder.combined declared as ConfigurationModifier and TypeFieldDescriptionprivate final ConfigurationMultiFileConfigurationBuilderProvider.WrapperBuilder.configurationThe configuration managed by this builder.Fields in org.apache.commons.configuration2.builder.combined with type parameters of type ConfigurationModifier and TypeFieldDescriptionprivate final Collection<ConfigurationBuilder<? extends Configuration>> CombinedConfigurationBuilder.ConfigurationSourceData.allBuildersA collection with all child builders.private final ConfigurationBuilder<? extends Configuration> MultiFileConfigurationBuilderProvider.WrapperBuilder.builderThe builder to which this instance delegates.private final Map<String, ConfigurationBuilder<? extends Configuration>> CombinedConfigurationBuilder.ConfigurationSourceData.namedBuildersA map for direct access to a builder by its name.private final List<ConfigurationBuilder<? extends Configuration>> CombinedConfigurationBuilder.ConfigurationSourceData.overrideBuildersA list with the builders for override configurations.private final List<ConfigurationBuilder<? extends Configuration>> CombinedConfigurationBuilder.ConfigurationSourceData.unionBuildersA list with the builders for union configurations.Methods in org.apache.commons.configuration2.builder.combined that return ConfigurationModifier and TypeMethodDescriptionprivate ConfigurationMultiFileConfigurationBuilderProvider.createWrapperConfiguration(ConfigurationBuilder builder) Creates a configuration which wraps the specified builder.MultiFileConfigurationBuilderProvider.WrapperBuilder.getConfiguration()Methods in org.apache.commons.configuration2.builder.combined that return types with arguments of type ConfigurationModifier and TypeMethodDescriptionList<ConfigurationBuilder<? extends Configuration>> CombinedConfigurationBuilder.ConfigurationSourceData.createAndAddConfigurations(CombinedConfiguration ccResult, List<ConfigurationDeclaration> srcDecl, List<ConfigurationBuilder<? extends Configuration>> builders) Processes the declaration of configuration builder providers, creates the corresponding builder if necessary, obtains configurations, and adds them to the specified result configuration.protected BasicConfigurationBuilder<? extends Configuration> BaseConfigurationBuilderProvider.createBuilder(ConfigurationDeclaration decl, Collection<BuilderParameters> params) Creates a new, uninitialized instance of the builder class managed by this provider.protected BasicConfigurationBuilder<? extends Configuration> CombinedConfigurationBuilderProvider.createBuilder(ConfigurationDeclaration decl, Collection<BuilderParameters> params) Creates a new, uninitialized instance of the builder class managed by this provider.private ConfigurationBuilder<? extends Configuration> CombinedConfigurationBuilder.ConfigurationSourceData.createConfigurationBuilder(ConfigurationDeclaration decl) Creates a configuration builder based on a source declaration in the definition configuration.private static ConfigurationBuilder<? extends Configuration> MultiFileConfigurationBuilderProvider.createWrapperBuilder(ConfigurationBuilder<? extends Configuration> multiBuilder, Configuration wrapConfig) Creates theConfigurationBuilderto be returned by this provider.Collection<ConfigurationBuilder<? extends Configuration>> CombinedConfigurationBuilder.ConfigurationSourceData.getChildBuilders()Gets a collection containing the builders for all child configuration sources.protected Collection<ConfigurationBuilder<? extends Configuration>> CombinedConfigurationBuilder.getChildBuilders()Gets a collection with the builders for all child configuration sources.ConfigurationBuilder<? extends Configuration> BaseConfigurationBuilderProvider.getConfigurationBuilder(ConfigurationDeclaration decl) Gets the builder for the configuration source managed by this provider.ConfigurationBuilder<? extends Configuration> ConfigurationBuilderProvider.getConfigurationBuilder(ConfigurationDeclaration decl) Gets the builder for the configuration source managed by this provider.ConfigurationBuilder<? extends Configuration> MultiFileConfigurationBuilderProvider.getConfigurationBuilder(ConfigurationDeclaration decl) Gets the builder for the configuration source managed by this provider.ConfigurationBuilder<? extends Configuration> CombinedConfigurationBuilder.ConfigurationSourceData.getNamedBuilder(String name) Gets theConfigurationBuilderwith the given name.ConfigurationBuilder<? extends Configuration> CombinedConfigurationBuilder.getNamedBuilder(String name) Gets the configuration builder with the given name.Methods in org.apache.commons.configuration2.builder.combined with parameters of type ConfigurationModifier and TypeMethodDescriptionprivate static ConfigurationBuilder<? extends Configuration> MultiFileConfigurationBuilderProvider.createWrapperBuilder(ConfigurationBuilder<? extends Configuration> multiBuilder, Configuration wrapConfig) Creates theConfigurationBuilderto be returned by this provider.protected voidCombinedConfigurationBuilder.registerConfiguredLookups(HierarchicalConfiguration<?> defConfig, Configuration resultConfig) Processes customLookupobjects that might be declared in the definition configuration.private voidCombinedConfigurationBuilder.setUpParentInterpolator(Configuration resultConfig, Configuration defConfig) Sets up a parentConfigurationInterpolatorobject.Method parameters in org.apache.commons.configuration2.builder.combined with type arguments of type ConfigurationModifier and TypeMethodDescriptionprivate voidCombinedConfigurationBuilder.ConfigurationSourceData.addChildConfiguration(CombinedConfiguration ccResult, ConfigurationDeclaration decl, ConfigurationBuilder<? extends Configuration> builder) Creates a new configuration using the specified builder and adds it to the resulting combined configuration.protected voidBaseConfigurationBuilderProvider.configureBuilder(BasicConfigurationBuilder<? extends Configuration> builder, ConfigurationDeclaration decl, Collection<BuilderParameters> params) Configures a newly created builder instance with its initialization parameters.private static ConfigurationBuilder<? extends Configuration> MultiFileConfigurationBuilderProvider.createWrapperBuilder(ConfigurationBuilder<? extends Configuration> multiBuilder, Configuration wrapConfig) Creates theConfigurationBuilderto be returned by this provider.(package private) voidCombinedConfigurationBuilder.initChildEventListeners(BasicConfigurationBuilder<? extends Configuration> dest) Initializes the event listeners of the specified builder from this object.Constructors in org.apache.commons.configuration2.builder.combined with parameters of type ConfigurationModifierConstructorDescriptionReloadableWrapperBuilder(Configuration conf, ConfigurationBuilder<? extends Configuration> bldr) Creates a new instance ofReloadableWrapperBuilder.WrapperBuilder(Configuration conf, ConfigurationBuilder<? extends Configuration> bldr) Creates a new instance ofWrapperBuilder.Constructor parameters in org.apache.commons.configuration2.builder.combined with type arguments of type ConfigurationModifierConstructorDescriptionReloadableWrapperBuilder(Configuration conf, ConfigurationBuilder<? extends Configuration> bldr) Creates a new instance ofReloadableWrapperBuilder.WrapperBuilder(Configuration conf, ConfigurationBuilder<? extends Configuration> bldr) Creates a new instance ofWrapperBuilder. -
Uses of Configuration in org.apache.commons.configuration2.plist
Classes in org.apache.commons.configuration2.plist that implement ConfigurationModifier and TypeClassDescriptionclassNeXT / OpenStep style configuration.classProperty list file (plist) in XML FORMAT as used by macOS X (http://www.apple.com/DTDs/PropertyList-1.0.dtd). -
Uses of Configuration in org.apache.commons.configuration2.web
Classes in org.apache.commons.configuration2.web that implement ConfigurationModifier and TypeClassDescriptionclassA configuration wrapper to read applet parameters.(package private) classAn abstract base class for all web configurations.classA configuration wrapper around aServletConfig.classA configuration wrapper to read the initialization parameters of a servlet context.classA configuration wrapper around aFilterConfig.classA configuration wrapper to read the parameters of a servlet request.