public class TarFileSystem extends AbstractFileSystem implements FileSystem
| Modifier | Constructor and Description |
|---|---|
protected |
TarFileSystem(FileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCapabilities(java.util.Collection caps)
Returns the capabilities of this file system.
|
protected FileObject |
createFile(FileName name)
Creates a file object.
|
protected org.apache.commons.vfs.provider.tar.TarInputStream |
createTarFile(java.io.File file) |
protected TarFileObject |
createTarFileObject(FileName name,
org.apache.commons.vfs.provider.tar.TarEntry entry) |
protected void |
doCloseCommunicationLink()
Close the underlaying link used to access the files
|
java.io.InputStream |
getInputStream(org.apache.commons.vfs.provider.tar.TarEntry entry) |
protected org.apache.commons.vfs.provider.tar.TarInputStream |
getTarFile() |
void |
init()
Initialises this component.
|
protected void |
resetTarFile() |
addJunction, addListener, close, closeCommunicationLink, decorateFileObject, doReplicateFile, fireFileChanged, fireFileCreated, fireFileDeleted, getAttribute, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, hasCapability, isOpen, isReleaseable, notifyAllStreamsClosed, putFileToCache, removeFileFromCache, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttributegetContext, getLogger, setContext, setLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddJunction, addListener, getAttribute, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, hasCapability, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttributeprotected TarFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemExceptionpublic void init()
throws FileSystemException
AbstractFileSysteminit in interface VfsComponentinit in class AbstractFileSystemFileSystemExceptionpublic java.io.InputStream getInputStream(org.apache.commons.vfs.provider.tar.TarEntry entry)
throws FileSystemException
FileSystemExceptionprotected void resetTarFile()
throws FileSystemException
FileSystemExceptionprotected org.apache.commons.vfs.provider.tar.TarInputStream getTarFile()
throws FileSystemException
FileSystemExceptionprotected TarFileObject createTarFileObject(FileName name, org.apache.commons.vfs.provider.tar.TarEntry entry) throws FileSystemException
FileSystemExceptionprotected org.apache.commons.vfs.provider.tar.TarInputStream createTarFile(java.io.File file)
throws FileSystemException
FileSystemExceptionprotected void doCloseCommunicationLink()
AbstractFileSystemdoCloseCommunicationLink in class AbstractFileSystemprotected void addCapabilities(java.util.Collection caps)
addCapabilities in class AbstractFileSystemprotected FileObject createFile(FileName name) throws FileSystemException
createFile in class AbstractFileSystemFileSystemException