org.apache.commons.vfs.provider.bzip2
Class Bzip2FileProvider

java.lang.Object
  extended byorg.apache.commons.vfs.provider.AbstractVfsComponent
      extended byorg.apache.commons.vfs.provider.AbstractVfsContainer
          extended byorg.apache.commons.vfs.provider.AbstractFileProvider
              extended byorg.apache.commons.vfs.provider.AbstractLayeredFileProvider
                  extended byorg.apache.commons.vfs.provider.compressed.CompressedFileFileProvider
                      extended byorg.apache.commons.vfs.provider.bzip2.Bzip2FileProvider
All Implemented Interfaces:
FileProvider, VfsComponent

public class Bzip2FileProvider
extends CompressedFileFileProvider

Provides access to the content of bzip2 compressed files

Version:
$Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Mi, 29 Nov 2006) $
Author:
Mario Ivankovits

Field Summary
protected static Collection capabilities
           
 
Constructor Summary
Bzip2FileProvider()
           
 
Method Summary
protected  FileSystem createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)
           
 Collection getCapabilities()
          Get the filesystem capabilities.
 
Methods inherited from class org.apache.commons.vfs.provider.compressed.CompressedFileFileProvider
doCreateFileSystem
 
Methods inherited from class org.apache.commons.vfs.provider.AbstractLayeredFileProvider
createFileSystem, findFile
 
Methods inherited from class org.apache.commons.vfs.provider.AbstractFileProvider
addFileSystem, close, closeFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParser
 
Methods inherited from class org.apache.commons.vfs.provider.AbstractVfsContainer
addComponent, removeComponent
 
Methods inherited from class org.apache.commons.vfs.provider.AbstractVfsComponent
getContext, getLogger, init, setContext, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.vfs.provider.FileProvider
createFileSystem, findFile, getConfigBuilder, parseUri
 

Field Detail

capabilities

protected static final Collection capabilities
Constructor Detail

Bzip2FileProvider

public Bzip2FileProvider()
Method Detail

createFileSystem

protected FileSystem createFileSystem(FileName name,
                                      FileObject file,
                                      FileSystemOptions fileSystemOptions)
                               throws FileSystemException
Specified by:
createFileSystem in class CompressedFileFileProvider
Throws:
FileSystemException

getCapabilities

public Collection 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
Specified by:
getCapabilities in class CompressedFileFileProvider


Copyright © 2002-2006 The Apache Software Foundation. All Rights Reserved.