org.apache.commons.vfs2.provider.compressed
Class CompressedFileFileProvider
java.lang.Object
org.apache.commons.vfs2.provider.AbstractVfsComponent
org.apache.commons.vfs2.provider.AbstractVfsContainer
org.apache.commons.vfs2.provider.AbstractFileProvider
org.apache.commons.vfs2.provider.AbstractLayeredFileProvider
org.apache.commons.vfs2.provider.compressed.CompressedFileFileProvider
- All Implemented Interfaces:
- FileProvider, VfsComponent
- Direct Known Subclasses:
- Bzip2FileProvider, GzipFileProvider
public abstract class CompressedFileFileProvider
- extends AbstractLayeredFileProvider
- implements FileProvider
A file system provider for compressed files. Provides read-only file
systems.
- Version:
- $Revision: 1040766 $ $Date: 2010-12-01 02:06:53 +0530 (Wed, 01 Dec 2010) $
- Author:
- Commons VFS team
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompressedFileFileProvider
public CompressedFileFileProvider()
doCreateFileSystem
protected FileSystem doCreateFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
throws FileSystemException
- Creates a layered file system. This method is called if the file system
is not cached.
- Specified by:
doCreateFileSystem in class AbstractLayeredFileProvider
- Parameters:
scheme - The URI scheme.file - The file to create the file system on top of.
- Returns:
- The file system.
- Throws:
FileSystemException
createFileSystem
protected abstract FileSystem createFileSystem(FileName name,
FileObject file,
FileSystemOptions fileSystemOptions)
throws FileSystemException
- Throws:
FileSystemException
getCapabilities
public abstract Collection<Capability> getCapabilities()
- Description copied from interface:
FileProvider
- Get the filesystem capabilities.
These are the same as on the filesystem, but available before the first filesystem was
instanciated.
- Specified by:
getCapabilities in interface FileProvider
- Returns:
- a Collection of the file systems Capabilities.
Copyright © 2002–2015 WSO2. All rights reserved.