Uses of Interface
org.apache.commons.configuration2.Configuration
-
Packages that use Configuration Package Description org.apache.commons.configuration2 The Configuration main package.org.apache.commons.configuration2.beanutils In this package aConfigurationimplementation can be found that implements theDynaBeaninterface.org.apache.commons.configuration2.builder.combined A package containing the implementation of the builder for combined configurations.org.apache.commons.configuration2.plist Configuration classes supporting NeXT / OpenStep /GNUStep style configuration.org.apache.commons.configuration2.spring A package containing integrations for the Spring Framework.org.apache.commons.configuration2.web This package contains some implementations of theConfigurationinterface that are useful in web environments. -
-
Uses of Configuration in org.apache.commons.configuration2
Subinterfaces of Configuration in org.apache.commons.configuration2 Modifier and Type Interface Description interfaceFileBasedConfigurationAn interface which combines theFileBasedandConfigurationinterfaces.interfaceHierarchicalConfiguration<T>An interface for mutable hierarchical configurations.Classes in org.apache.commons.configuration2 that implement Configuration Modifier and Type Class Description classAbstractConfigurationAbstract configuration class.classAbstractHierarchicalConfiguration<T>A specialized configuration class that extends its base class by the ability of keeping more structure in the stored properties.classAbstractYAMLBasedConfigurationA base class for configuration implementations based on YAML structures.classBaseConfigurationBasic configuration class.classBaseHierarchicalConfigurationA specialized hierarchical configuration implementation that is based on a structure ofImmutableNodeobjects.classCombinedConfigurationA hierarchical composite configuration class.classCompositeConfigurationCompositeConfigurationallows you to add multipleConfigurationobjects to an aggregated configuration.classDatabaseConfigurationConfiguration stored in a database.classDataConfigurationDecorator providing additional getters for any Configuration.classDynamicCombinedConfigurationDynamicCombinedConfiguration allows a set of CombinedConfigurations to be used.classEnvironmentConfigurationA Configuration implementation that reads the platform specific environment variables using the map returned bySystem.getenv().classINIConfigurationA specialized hierarchical configuration implementation for parsing ini files.classJNDIConfigurationThis Configuration class allows you to interface with a JNDI datasource.classJSONConfigurationA specialized hierarchical configuration class that is able to parse JSON documents.classMapConfigurationA Map based Configuration.classPatternSubtreeConfigurationWrapperWraps a BaseHierarchicalConfiguration and allows subtrees to be accessed via a configured path with replaceable tokens derived from the ConfigurationInterpolator.classPropertiesConfigurationThis is the "classic" Properties loader which loads the values from a single or multiple files (which can be chained with "include =".classSubnodeConfigurationA specialized hierarchical configuration class with a node model that uses a tracked node of another node model as its root node.classSubsetConfigurationA subset of another configuration.classSystemConfigurationA configuration based on the system properties.classXMLConfigurationA specialized hierarchical configuration class that is able to parse XML documents.classXMLPropertiesConfigurationThis configuration implements the XML properties format introduced in Java 5.0, see http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html.classYAMLConfigurationA specialized hierarchical configuration class that is able to parse YAML documents.Fields in org.apache.commons.configuration2 declared as Configuration Modifier and Type Field Description protected ConfigurationSubsetConfiguration. parentThe parent configuration.Methods in org.apache.commons.configuration2 that return Configuration Modifier and Type Method Description static ConfigurationConfigurationUtils. cloneConfiguration(Configuration config)Clones the given configuration object if this is possible.ConfigurationBaseConfigurationXMLReader. getConfiguration()Gets the actual configuration to be processed.ConfigurationCombinedConfiguration. getConfiguration(int index)Gets the configuration at the specified index.ConfigurationCombinedConfiguration. getConfiguration(String name)Gets the configuration with the given name.ConfigurationCompositeConfiguration. getConfiguration(int index)Return the configuration at the specified index.static ConfigurationConfigurationConverter. getConfiguration(Properties props)Convert a standard Properties class into a configuration class.ConfigurationConfigurationMap. getConfiguration()Gets the wrappedConfigurationobject.ConfigurationDataConfiguration. getConfiguration()Return the configuration decorated by this DataConfiguration.ConfigurationDynamicCombinedConfiguration. getConfiguration(int index)Gets the configuration at the specified index.ConfigurationDynamicCombinedConfiguration. getConfiguration(String name)Gets the configuration with the given name.ConfigurationCompositeConfiguration. getInMemoryConfiguration()Gets the "in memory configuration".ConfigurationSubsetConfiguration. getParent()Return the parent configuration for this subset.ConfigurationBaseConfigurationXMLReader. getParsedConfiguration()Gets the configuration to be processed.abstract ConfigurationConfigurationXMLReader. getParsedConfiguration()Gets a reference to the configuration that is parsed by this object.ConfigurationHierarchicalConfigurationXMLReader. getParsedConfiguration()Gets the configuration object to be processed.ConfigurationCombinedConfiguration. getSource(String key)Gets the configuration source, in which the specified key is defined.ConfigurationCompositeConfiguration. getSource(String key)Gets the configuration source, in which the specified key is defined.ConfigurationDynamicCombinedConfiguration. getSource(String key)Gets the configuration source, in which the specified key is defined.ConfigurationAbstractConfiguration. interpolatedConfiguration()Returns a configuration with the same content as this configuration, but with all variables replaced by their actual values.ConfigurationBaseHierarchicalConfiguration. interpolatedConfiguration()Returns a configuration with the same content as this configuration, but with all variables replaced by their actual values.ConfigurationDynamicCombinedConfiguration. interpolatedConfiguration()ConfigurationPatternSubtreeConfigurationWrapper. interpolatedConfiguration()ConfigurationCombinedConfiguration. removeConfiguration(String name)Removes the configuration with the specified name.ConfigurationDynamicCombinedConfiguration. removeConfiguration(String name)Removes the configuration with the specified name.ConfigurationCombinedConfiguration. removeConfigurationAt(int index)Removes the configuration at the specified index.ConfigurationDynamicCombinedConfiguration. removeConfigurationAt(int index)Removes the configuration at the specified index.ConfigurationAbstractConfiguration. subset(String prefix)ConfigurationBaseHierarchicalConfiguration. subset(String prefix)Creates a newConfigurationobject containing all keys that start with the specified prefix.ConfigurationConfiguration. subset(String prefix)Return a decorator Configuration containing every key from the current Configuration that starts with the specified prefix.ConfigurationDynamicCombinedConfiguration. subset(String prefix)ConfigurationPatternSubtreeConfigurationWrapper. subset(String prefix)ConfigurationSubsetConfiguration. subset(String prefix)Methods in org.apache.commons.configuration2 that return types with arguments of type Configuration Modifier and Type Method Description List<Configuration>CombinedConfiguration. getConfigurations()Gets a List of all the configurations that have been added.Set<Configuration>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 Configuration Modifier and Type Method Description voidCombinedConfiguration. 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.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.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.static Map<Object,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.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.voidBaseConfigurationXMLReader. setConfiguration(Configuration conf)Sets the configuration to be processed.static voidSystemConfiguration. setSystemProperties(Configuration systemConfig)Set System properties from a configuration object.static StringConfigurationUtils. toString(Configuration configuration)Get a string representation of the key/value mappings of a configuration.static ImmutableConfigurationConfigurationUtils. unmodifiableConfiguration(Configuration c)Creates anImmutableConfigurationfrom the givenConfigurationobject.Constructors in org.apache.commons.configuration2 with parameters of type Configuration Constructor Description BaseConfigurationXMLReader(Configuration conf)Creates 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.ConfigurationMap(Configuration configuration)Creates a new instance of aConfigurationMapthat wraps the specifiedConfigurationinstance.DataConfiguration(Configuration configuration)Creates a new instance ofDataConfigurationand sets the wrapped configuration.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 Configuration Constructor Description CompositeConfiguration(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
Constructors in org.apache.commons.configuration2.beanutils with parameters of type Configuration Constructor Description ConfigurationDynaBean(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
Methods in org.apache.commons.configuration2.builder.combined that return types with arguments of type Configuration Modifier and Type Method Description 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.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. getNamedBuilder(String name)Gets the configuration builder with the given name.Methods in org.apache.commons.configuration2.builder.combined with parameters of type Configuration Modifier and Type Method Description protected voidCombinedConfigurationBuilder. registerConfiguredLookups(HierarchicalConfiguration<?> defConfig, Configuration resultConfig)Processes customLookupobjects that might be declared in the definition configuration.Method parameters in org.apache.commons.configuration2.builder.combined with type arguments of type Configuration Modifier and Type Method Description protected voidBaseConfigurationBuilderProvider. configureBuilder(BasicConfigurationBuilder<? extends Configuration> builder, ConfigurationDeclaration decl, Collection<BuilderParameters> params)Configures a newly created builder instance with its initialization parameters. -
Uses of Configuration in org.apache.commons.configuration2.plist
Classes in org.apache.commons.configuration2.plist that implement Configuration Modifier and Type Class Description classPropertyListConfigurationNeXT / OpenStep style configuration.classXMLPropertyListConfigurationProperty list file (plist) in XML FORMAT as used by Mac OS X (http://www.apple.com/DTDs/PropertyList-1.0.dtd). -
Uses of Configuration in org.apache.commons.configuration2.spring
Methods in org.apache.commons.configuration2.spring that return Configuration Modifier and Type Method Description Configuration[]ConfigurationPropertiesFactoryBean. getConfigurations()Methods in org.apache.commons.configuration2.spring with parameters of type Configuration Modifier and Type Method Description voidConfigurationPropertiesFactoryBean. setConfigurations(Configuration... configurations)Set the commons configurations objects which will be used as properties.Constructors in org.apache.commons.configuration2.spring with parameters of type Configuration Constructor Description ConfigurationPropertiesFactoryBean(Configuration configuration)ConfigurationPropertySource(String name, Configuration source) -
Uses of Configuration in org.apache.commons.configuration2.web
Classes in org.apache.commons.configuration2.web that implement Configuration Modifier and Type Class Description classAppletConfigurationA configuration wrapper to read applet parameters.classServletConfigurationA configuration wrapper around aServletConfig.classServletContextConfigurationA configuration wrapper to read the initialization parameters of a servlet context.classServletFilterConfigurationA configuration wrapper around aFilterConfig.classServletRequestConfigurationA configuration wrapper to read the parameters of a servlet request.
-