public class LocalFileSystem extends AbstractFileSystem
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
rootFile |
| Constructor and Description |
|---|
LocalFileSystem(FileName rootName,
java.lang.String rootFile,
FileSystemOptions opts) |
| Modifier and Type | Method and Description |
|---|---|
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 descendants.
|
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, setAttributegetContext, getLogger, setContext, setLoggerpublic LocalFileSystem(FileName rootName, java.lang.String rootFile, FileSystemOptions opts)
protected FileObject createFile(AbstractFileName name) throws FileSystemException
createFile in class AbstractFileSystemname - name referencing the new file.FileSystemExceptionprotected void addCapabilities(java.util.Collection<Capability> caps)
addCapabilities in class AbstractFileSystemcaps - collections of Capabilities, can be immutable.protected java.io.File doReplicateFile(FileObject fileObject, FileSelector selector) throws java.lang.Exception
doReplicateFile in class AbstractFileSystemfileObject - the start of the tree.selector - selection what to do with childs.java.lang.Exception - any Exception is wrapped as FileSystemException.