|
|||||||||
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
org.apache.commons.vfs2.provider.local.LocalFileSystem
public class LocalFileSystem
A local file system.
Constructor Summary | |
---|---|
LocalFileSystem(FileName rootName,
java.lang.String rootFile,
FileSystemOptions opts)
|
Method Summary | |
---|---|
protected void |
addCapabilities(java.util.Collection<Capability> caps)
Returns the capabilities of this file system. |
protected FileObject |
createFile(AbstractFileName name)
Creates a file object. |
protected java.io.File |
doReplicateFile(FileObject fileObject,
FileSelector selector)
Creates a temporary local copy of a file and its descendents. |
Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileSystem |
---|
addJunction, addListener, close, closeCommunicationLink, decorateFileObject, doCloseCommunicationLink, fireFileChanged, fireFileCreated, fireFileDeleted, getAttribute, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, getRootURI, hasCapability, init, isOpen, isReleaseable, notifyAllStreamsClosed, 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 LocalFileSystem(FileName rootName, java.lang.String rootFile, FileSystemOptions opts)
Method Detail |
---|
protected FileObject createFile(AbstractFileName name) throws FileSystemException
createFile
in class AbstractFileSystem
FileSystemException
protected void addCapabilities(java.util.Collection<Capability> caps)
addCapabilities
in class AbstractFileSystem
protected java.io.File doReplicateFile(FileObject fileObject, FileSelector selector) throws java.lang.Exception
doReplicateFile
in class AbstractFileSystem
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |