Package org.apache.commons.configuration2.io
package org.apache.commons.configuration2.io
A package with classes related to I/O operations.
Most of the interfaces and classes contained in this package are related to file-based configurations. For instance, the basic interfaces for reading and writing data or for managing a reference to a file are defined here. This package also contains various strategy classes for locating files. They can be used to construct a location strategy for the configuration sources of a specific application.
-
ClassDescriptionA specialized implementation of
FileLocationStrategywhich checks whether the provided file name is already an absolute file name.A specialized implementation ofFileLocationStrategywhich tries to construct a file path from the locator's base path and file name.A specializedFileLocationStrategyimplementation which searches for files on the class path.A specialized implementation of aFileLocationStrategywhich encapsulates an arbitrary number ofFileLocationStrategyobjects.A class providing basic logging capabilities.FileSystem that uses java.io.File or HttpClient.Definition of an interface to be implemented by objects which know how to read and write themselves from or to a character stream.A class that manages persistence of an associatedFileBasedobject.A listener interface for receiving notifications about updates of aFileHandler.An adapter class simplifying the implementation of customFileHandlerListenerclasses.An interface allowing applications to customize the process of locating a file.A class describing the location of a file.A typical builder implementation for creatingFileLocatorobjects.Definition of an interface to be implemented byFileBasedobjects which need access to the currentFileLocator.A utility class providing helper methods related to locating files.Some FileSystems allow options to be passed on File operations.Abstract layer to allow various types of file systems.A specialized implementation ofFileLocationStrategywhich uses the passed inFileSystemto locate a file.A specialized implementation ofFileLocationStrategywhich searches for files in the user's home directory or another special configurable directory.Definition of an interface to be implemented by objects which support reading from an input stream.A specialized implementation ofFileLocationStrategywhich checks whether a passed inFileLocatoralready has a defined URL.Carries options and operates onURLConnection.OutputStream that can be checked for errors after it is written to.FileSystem that uses Apache Commons VFS.