public class LocalFileSystem extends AbstractFileSystem implements FileSystem
| Constructor and Description |
|---|
LocalFileSystem(FileName rootName,
String rootFile,
FileSystemOptions opts) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCapabilities(Collection<Capability> caps)
Returns the capabilities of this file system.
|
protected FileObject |
createFile(AbstractFileName name)
Creates a file object.
|
protected File |
doReplicateFile(FileObject fileObject,
FileSelector selector)
Creates a temporary local copy of a file and its descendents.
|
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, setLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddJunction, addListener, getAttribute, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, getRootURI, hasCapability, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttributepublic LocalFileSystem(FileName rootName, String rootFile, FileSystemOptions opts)
protected FileObject createFile(AbstractFileName name) throws FileSystemException
createFile in class AbstractFileSystemFileSystemExceptionprotected void addCapabilities(Collection<Capability> caps)
addCapabilities in class AbstractFileSystemprotected File doReplicateFile(FileObject fileObject, FileSelector selector) throws Exception
doReplicateFile in class AbstractFileSystemExceptionCopyright © 2002–2018 WSO2. All rights reserved.