Uses of Class
org.apache.commons.configuration2.ex.ConfigurationException
-
Packages that use ConfigurationException Package Description org.apache.commons.configuration2 The Configuration main package.org.apache.commons.configuration2.builder This package contains the implementations of configuration builder classes used to create newConfigurationobjects.org.apache.commons.configuration2.builder.combined A package containing the implementation of the builder for combined configurations.org.apache.commons.configuration2.builder.fluent This package defines a fluent API for setting up fully configured configuration builders.org.apache.commons.configuration2.io A package with classes related to I/O operations.org.apache.commons.configuration2.plist Configuration classes supporting NeXT / OpenStep /GNUStep style configuration. -
-
Uses of ConfigurationException in org.apache.commons.configuration2
Fields in org.apache.commons.configuration2 with type parameters of type ConfigurationException Modifier and Type Field Description static ConfigurationConsumer<ConfigurationException>PropertiesConfiguration. DEFAULT_INCLUDE_LISTENERDefines default error handling for the special"include"key by throwing the given exception.static ConfigurationConsumer<ConfigurationException>PropertiesConfiguration. NOOP_INCLUDE_LISTENERDefines error handling as a noop for the special"include"key.Methods in org.apache.commons.configuration2 that return types with arguments of type ConfigurationException Modifier and Type Method Description ConfigurationConsumer<ConfigurationException>PropertiesConfiguration. getIncludeListener()Gets the current include listener, never null.Method parameters in org.apache.commons.configuration2 with type arguments of type ConfigurationException Modifier and Type Method Description voidPropertiesConfiguration. setIncludeListener(ConfigurationConsumer<ConfigurationException> includeListener)Sets the current include listener, may not be null.Methods in org.apache.commons.configuration2 that throw ConfigurationException Modifier and Type Method Description voidConfigurationConsumer. accept(T t)Performs this operation on the given argument.protected TransformerXMLConfiguration. createTransformer()Creates and initializes the transformer used for save operations.voidYAMLConfiguration. dump(Writer out, org.yaml.snakeyaml.DumperOptions options)voidPropertiesConfigurationLayout. load(PropertiesConfiguration config, Reader reader)Reads a properties file and stores its internal structure.voidXMLPropertiesConfiguration. load(Element element)Parses a DOM element containing the properties.voidINIConfiguration. read(Reader in)Load the configuration from the given reader.voidJSONConfiguration. read(InputStream in)Loads the configuration from the given input stream.voidJSONConfiguration. read(Reader in)voidPatternSubtreeConfigurationWrapper. read(Reader reader)voidPropertiesConfiguration. read(Reader in)Reads the content of this object from the given reader.voidXMLConfiguration. read(InputStream in)Loads the configuration from the given input stream.voidXMLConfiguration. read(Reader in)Loads the configuration from the given reader.voidXMLPropertiesConfiguration. read(Reader in)voidYAMLConfiguration. read(InputStream in)Loads the configuration from the given input stream.voidYAMLConfiguration. read(InputStream in, org.yaml.snakeyaml.LoaderOptions options)voidYAMLConfiguration. read(Reader in)voidYAMLConfiguration. read(Reader in, org.yaml.snakeyaml.LoaderOptions options)voidPropertiesConfigurationLayout. save(PropertiesConfiguration config, Writer writer)Writes the properties file to the given writer, preserving as much of its structure as possible.static voidSystemConfiguration. setSystemProperties(String fileName)Sets system properties from a file specified by its file name.static voidSystemConfiguration. setSystemProperties(String basePath, String fileName)Sets system properties from a file specified using its base path and file name.voidXMLConfiguration. validate()Validate the document against the Schema.voidINIConfiguration. write(Writer writer)Save the configuration to the specified writer.voidJSONConfiguration. write(Writer out)voidPatternSubtreeConfigurationWrapper. write(Writer writer)voidPropertiesConfiguration. write(Writer out)Writes the content of this object to the given writer.voidXMLConfiguration. write(Writer writer)Saves the configuration to the specified writer.voidXMLConfiguration. write(Writer writer, Transformer transformer)Saves the configuration to the specified writer.voidXMLPropertiesConfiguration. write(Writer out)voidYAMLConfiguration. write(Writer out)Constructors in org.apache.commons.configuration2 that throw ConfigurationException Constructor Description XMLPropertiesConfiguration(Element element)Creates and loads the xml properties from the specified DOM node. -
Uses of ConfigurationException in org.apache.commons.configuration2.builder
Method parameters in org.apache.commons.configuration2.builder with type arguments of type ConfigurationException Modifier and Type Method Description PropertiesBuilderParametersImplPropertiesBuilderParametersImpl. setIncludeListener(ConfigurationConsumer<ConfigurationException> includeListener)default TPropertiesBuilderProperties. setIncludeListener(ConfigurationConsumer<ConfigurationException> includeListener)Sets the current include listener, may be null.Methods in org.apache.commons.configuration2.builder that throw ConfigurationException Modifier and Type Method Description ReloadingDetectorDefaultReloadingDetectorFactory. createReloadingDetector(FileHandler handler, FileBasedBuilderParametersImpl params)ReloadingDetectorReloadingDetectorFactory. createReloadingDetector(FileHandler handler, FileBasedBuilderParametersImpl params)Creates a newReloadingDetectorobject based on the passed in parameters.protected ReloadingDetectorReloadingFileBasedConfigurationBuilder. createReloadingDetector(FileHandler handler, FileBasedBuilderParametersImpl fbparams)Creates aReloadingDetectorwhich monitors the passed inFileHandler.protected TBasicConfigurationBuilder. createResult()Creates a new, initialized result object.protected BeanDeclarationBasicConfigurationBuilder. createResultDeclaration(Map<String,Object> params)Creates a newBeanDeclarationwhich is used for creating new result objects dynamically.protected TBasicConfigurationBuilder. createResultInstance()Creates the new, uninitialized result object.TBasicConfigurationBuilder. getConfiguration()Gets the configuration provided by this builder.TConfigurationBuilder. getConfiguration()Gets the configuration provided by this builder.protected BeanDeclarationBasicConfigurationBuilder. getResultDeclaration()Gets theBeanDeclarationthat is used to create and initialize result objects.protected voidFileBasedConfigurationBuilder. initFileHandler(FileHandler handler)Initializes the new currentFileHandler.protected voidReloadingFileBasedConfigurationBuilder. initFileHandler(FileHandler handler)Initializes the new currentFileHandler.protected voidBasicConfigurationBuilder. initResultInstance(T obj)Initializes a newly created result object.protected voidFileBasedConfigurationBuilder. initResultInstance(T obj)Initializes a newly created result object.voidFileBasedConfigurationBuilder. save()Convenience method which saves the associated configuration. -
Uses of ConfigurationException in org.apache.commons.configuration2.builder.combined
Methods in org.apache.commons.configuration2.builder.combined that throw ConfigurationException Modifier and Type Method Description protected voidCombinedConfigurationBuilder. configureEntityResolver(HierarchicalConfiguration<?> config, XMLBuilderParametersImpl xmlParams)Creates and initializes a defaultEntityResolverif the definition configuration contains a corresponding declaration.protected FileBasedConfigurationBuilder<T>MultiFileConfigurationBuilder. createInitializedManagedBuilder(String fileName, Map<String,Object> params)Creates a fully initialized builder for a managed configuration.protected FileBasedConfigurationBuilder<T>MultiFileConfigurationBuilder. createManagedBuilder(String fileName, Map<String,Object> params)Creates a builder for a managed configuration.protected FileBasedConfigurationBuilder<T>ReloadingMultiFileConfigurationBuilder. createManagedBuilder(String fileName, Map<String,Object> params)Creates a builder for a managed configuration.protected ReloadingControllerReloadingCombinedConfigurationBuilder. createReloadingController()Creates theReloadingControllerfor this builder.protected BeanDeclarationCombinedConfigurationBuilder. createResultDeclaration(Map<String,Object> params)Creates a newBeanDeclarationwhich is used for creating new result objects dynamically.protected StringBaseConfigurationBuilderProvider. determineBuilderClass(ConfigurationDeclaration decl)Determines the name of the class to be used for a new builder instance.protected StringBaseConfigurationBuilderProvider. determineConfigurationClass(ConfigurationDeclaration decl, Collection<BuilderParameters> params)Determines the name of the configuration class produced by the builder.protected StringFileExtensionConfigurationBuilderProvider. determineConfigurationClass(ConfigurationDeclaration decl, Collection<BuilderParameters> params)Determines the name of the configuration class produced by the builder.TMultiFileConfigurationBuilder. getConfiguration()Gets the configuration provided by this builder.CombinedConfigurationReloadingCombinedConfigurationBuilder. getConfiguration()Gets the configuration provided by this builder.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 HierarchicalConfiguration<?>>CombinedConfigurationBuilder. getDefinitionBuilder()Gets theConfigurationBuilderwhich creates the definition configuration.protected HierarchicalConfiguration<?>CombinedConfigurationBuilder. getDefinitionConfiguration()Gets the configuration containing the definition of the combined configuration to be created.FileBasedConfigurationBuilder<T>MultiFileConfigurationBuilder. getManagedBuilder()Gets the managedFileBasedConfigurationBuilderfor the current file name pattern.ConfigurationBuilder<? extends Configuration>CombinedConfigurationBuilder. getNamedBuilder(String name)Gets the configuration builder with the given name.protected FileSystemCombinedConfigurationBuilder. initFileSystem(HierarchicalConfiguration<?> config)Creates and initializes a defaultFileSystemif the definition configuration contains a corresponding declaration.protected voidCombinedConfigurationBuilder. initResultInstance(CombinedConfiguration result)Initializes a newly created result object.protected voidReloadingCombinedConfigurationBuilder. initResultInstance(CombinedConfiguration result)Initializes a newly created result object.protected voidCombinedConfigurationBuilder. initSystemProperties(HierarchicalConfiguration<?> config, String basePath)Handles a file with system properties that may be defined in the definition configuration.protected voidCombinedConfigurationBuilder. registerConfiguredLookups(HierarchicalConfiguration<?> defConfig, Configuration resultConfig)Processes customLookupobjects that might be declared in the definition configuration.protected ConfigurationBuilder<? extends HierarchicalConfiguration<?>>CombinedConfigurationBuilder. setupDefinitionBuilder(Map<String,Object> params)Obtains theConfigurationBuilderobject which provides access to the configuration containing the definition of the combined configuration to create. -
Uses of ConfigurationException in org.apache.commons.configuration2.builder.fluent
Methods in org.apache.commons.configuration2.builder.fluent that throw ConfigurationException Modifier and Type Method Description CombinedConfigurationConfigurations. combined(File file)Creates aCombinedConfigurationinstance from the content of the given file.CombinedConfigurationConfigurations. combined(String path)Creates aCombinedConfigurationinstance from the content of the file identified by the given path.CombinedConfigurationConfigurations. combined(URL url)Creates aCombinedConfigurationinstance from the content of the given URL.<T extends FileBasedConfiguration>
TConfigurations. fileBased(Class<T> configClass, File file)Creates an instance of the specified file-based configuration class from the content of the given file.<T extends FileBasedConfiguration>
TConfigurations. fileBased(Class<T> configClass, String path)Creates an instance of the specified file-based configuration class from the content of the file identified by the given path.<T extends FileBasedConfiguration>
TConfigurations. fileBased(Class<T> configClass, URL url)Creates an instance of the specified file-based configuration class from the content of the given URL.INIConfigurationConfigurations. ini(File file)Creates aINIConfigurationinstance from the content of the given file.INIConfigurationConfigurations. ini(String path)Creates aINIConfigurationinstance from the content of the file identified by the given path.INIConfigurationConfigurations. ini(URL url)Creates aINIConfigurationinstance from the content of the given URL.PropertiesConfigurationConfigurations. properties(File file)Creates aPropertiesConfigurationinstance from the content of the given file.PropertiesConfigurationConfigurations. properties(String path)Creates aPropertiesConfigurationinstance from the content of the file identified by the given path.PropertiesConfigurationConfigurations. properties(URL url)Creates aPropertiesConfigurationinstance from the content of the given URL.XMLConfigurationConfigurations. xml(File file)Creates aXMLConfigurationinstance from the content of the given file.XMLConfigurationConfigurations. xml(String path)Creates aXMLConfigurationinstance from the content of the file identified by the given path.XMLConfigurationConfigurations. xml(URL url)Creates aXMLConfigurationinstance from the content of the given URL. -
Uses of ConfigurationException in org.apache.commons.configuration2.io
Methods in org.apache.commons.configuration2.io that throw ConfigurationException Modifier and Type Method Description InputStreamDefaultFileSystem. getInputStream(URL url)InputStreamDefaultFileSystem. getInputStream(URL url, URLConnectionOptions urlConnectionOptions)abstract InputStreamFileSystem. getInputStream(URL url)InputStreamFileSystem. getInputStream(URL url, URLConnectionOptions urlConnectionOptions)Not abstract for binary compatibility.InputStreamVFSFileSystem. getInputStream(URL url)OutputStreamDefaultFileSystem. getOutputStream(File file)OutputStreamDefaultFileSystem. getOutputStream(URL url)abstract OutputStreamFileSystem. getOutputStream(File file)abstract OutputStreamFileSystem. getOutputStream(URL url)OutputStreamVFSFileSystem. getOutputStream(URL url)voidFileHandler. load()Loads the associated file from the underlying location.voidFileHandler. load(File file)Loads the associated file from the specifiedFile.voidFileHandler. load(InputStream in)Loads the associated file from the specified stream, using the encoding returned byFileHandler.getEncoding().voidFileHandler. load(InputStream in, String encoding)Loads the associated file from the specified stream, using the specified encoding.voidFileHandler. load(Reader in)Loads the associated file from the specified reader.voidFileHandler. load(String fileName)Loads the associated file from the given file name.voidFileHandler. load(URL url)Loads the associated file from the specified URL.static URLFileLocatorUtils. locateOrThrow(FileLocator locator)Tries to locate the file referenced by the passed inFileLocator.voidFileBased. read(Reader in)Reads the content of this object from the given reader.voidInputStreamSupport. read(InputStream in)Reads the content of this object from the specifiedInputStream.voidFileHandler. save()Saves the associated file to the current location set for this object.voidFileHandler. save(File file)Saves the associated file to the specifiedFile.voidFileHandler. save(OutputStream out)Saves the associated file to the specified stream using the encoding returned byFileHandler.getEncoding().voidFileHandler. save(OutputStream out, String encoding)Saves the associated file to the specified stream using the specified encoding.voidFileHandler. save(Writer out)Saves the associated file to the givenWriter.voidFileHandler. save(String fileName)Saves the associated file to the specified file name.voidFileHandler. save(URL url)Saves the associated file to the specified URL.voidFileBased. write(Writer out)Writes the content of this object to the given writer. -
Uses of ConfigurationException in org.apache.commons.configuration2.plist
Methods in org.apache.commons.configuration2.plist that throw ConfigurationException Modifier and Type Method Description voidPropertyListConfiguration. read(Reader in)voidXMLPropertyListConfiguration. read(Reader in)voidPropertyListConfiguration. write(Writer out)voidXMLPropertyListConfiguration. write(Writer out)
-