Package org.apache.commons.vfs2
The public VFS API.
-
Interface Summary Interface Description FileContent Represents the data content of a file.FileContentInfo Informs on the content of a file with content type and encoding.FileContentInfoFactory CreatesFileContentInfoinstances to determine the content-info for given file contents.FileFilter This interface is used to select files when traversing the direct children of the base.FileListener Listens for changes to a file.FileMonitor FileMonitor interface.FileName Represents a file name.FileObject Represents a file, and is used to access the content and structure of the file.FilesCache The fileCache interface.FileSelectInfo Gets information about a file, used to select files during the traversal of a hierarchy.FileSelector Selects what to traverse a file hierarchy.FileSystem A file system, made up of a hierarchy of files.FileSystemManager A FileSystemManager manages a set of file systems.RandomAccessContent Provides random access over content.UserAuthenticator The user authenticator is used to query credentials from the user. -
Class Summary Class Description AllFileSelector AFileSelectorthat selects everything.FileChangeEvent An event fired when a file is changed.FileDepthSelector AFileSelectorthat selects all files in a particular depth range.FileExtensionSelector AFileSelectorthat selects based on file extensions.FileFilterSelector AFileSelectorthat selects all children of the given fileObject.FileSystemConfigBuilder Abstracts configuringFileSystemOptionss.FileSystemOptions Configures file systems individually with these options.FileTypeSelector AFileSelectorthat selects files of a particular type.FileUtil Deprecated. UseFileObjectUtils.InvertIncludeFileSelector Inverts file inclusion of a delegate FileSelector, folder traversal is delegated.PatternFileSelector AFileSelectorthat selects based on regular expressions.Selectors Several standard file selectors.UserAuthenticationData Contains various authentication data.UserAuthenticationData.Type Represents a user authentication item.VFS The main entry point for the VFS.VfsLog This class is to keep the old logging behavior (for ant-task) and to be able to correctly use commons-logging. -
Enum Summary Enum Description CacheStrategy An enumerated type to deal with the various cache strategies.Capability An enumerated type representing the capabilities of files and file systems.FileType An enumerated type that represents a file's type.NameScope An enumerated type for file name scope, used when resolving a name relative to a file. -
Exception Summary Exception Description FileNotFolderException Delivers a file-not-folder exception which happens when trying to issueFileObject.getChildren()on a file.FileNotFoundException A file-not-found exception.FileSystemException Thrown for file system errors.FileTypeHasNoContentException A file-not-folder exception which happens when trying to issueFileObject.getChildren()on a file.