|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.vfs2.provider.AbstractVfsComponent
org.apache.commons.vfs2.provider.AbstractFileSystem
com.github.junrar.vfs2.provider.rar.RARFileSystem
public class RARFileSystem
A read-only file system for RAR files.
| Constructor Summary | |
|---|---|
RARFileSystem(org.apache.commons.vfs2.provider.AbstractFileName rootName,
org.apache.commons.vfs2.FileObject parentLayer,
org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)
|
|
| Method Summary | |
|---|---|
protected void |
addCapabilities(Collection<org.apache.commons.vfs2.Capability> caps)
Returns the capabilities of this file system. |
protected org.apache.commons.vfs2.FileObject |
createFile(org.apache.commons.vfs2.provider.AbstractFileName name)
Creates a file object. |
protected RARFileObject |
createRARFileObject(org.apache.commons.vfs2.provider.AbstractFileName name,
FileHeader header)
|
protected void |
doCloseCommunicationLink()
|
void |
init()
|
protected void |
notifyAllStreamsClosed()
will be called after all file-objects closed their streams. |
| Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileSystem |
|---|
addJunction, addListener, close, closeCommunicationLink, decorateFileObject, doReplicateFile, fireFileChanged, fireFileCreated, fireFileDeleted, getAttribute, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, getRootURI, hasCapability, isOpen, isReleaseable, putFileToCache, removeFileFromCache, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttribute |
| Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponent |
|---|
getContext, getLogger, 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.vfs2.FileSystem |
|---|
addJunction, addListener, getAttribute, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, getRootURI, hasCapability, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttribute |
| Constructor Detail |
|---|
public RARFileSystem(org.apache.commons.vfs2.provider.AbstractFileName rootName,
org.apache.commons.vfs2.FileObject parentLayer,
org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)
throws org.apache.commons.vfs2.FileSystemException
org.apache.commons.vfs2.FileSystemException| Method Detail |
|---|
public void init()
throws org.apache.commons.vfs2.FileSystemException
init in interface org.apache.commons.vfs2.provider.VfsComponentinit in class org.apache.commons.vfs2.provider.AbstractFileSystemorg.apache.commons.vfs2.FileSystemException
protected RARFileObject createRARFileObject(org.apache.commons.vfs2.provider.AbstractFileName name,
FileHeader header)
throws org.apache.commons.vfs2.FileSystemException
org.apache.commons.vfs2.FileSystemExceptionprotected void doCloseCommunicationLink()
doCloseCommunicationLink in class org.apache.commons.vfs2.provider.AbstractFileSystemprotected void addCapabilities(Collection<org.apache.commons.vfs2.Capability> caps)
addCapabilities in class org.apache.commons.vfs2.provider.AbstractFileSystem
protected org.apache.commons.vfs2.FileObject createFile(org.apache.commons.vfs2.provider.AbstractFileName name)
throws org.apache.commons.vfs2.FileSystemException
createFile in class org.apache.commons.vfs2.provider.AbstractFileSystemorg.apache.commons.vfs2.FileSystemExceptionprotected void notifyAllStreamsClosed()
notifyAllStreamsClosed in class org.apache.commons.vfs2.provider.AbstractFileSystem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||