|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.vfs.provider.AbstractVfsComponent
org.apache.commons.vfs.provider.AbstractFileSystem
org.apache.commons.vfs.provider.local.LocalFileSystem
public class LocalFileSystem
A local file system.
| Field Summary | |
|---|---|
private java.lang.String |
rootFile
|
| Constructor Summary | |
|---|---|
LocalFileSystem(FileName rootName,
java.lang.String rootFile,
FileSystemOptions opts)
|
|
| Method Summary | |
|---|---|
protected void |
addCapabilities(java.util.Collection caps)
Returns the capabilities of this file system. |
protected FileObject |
createFile(FileName 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.vfs.provider.AbstractFileSystem |
|---|
addJunction, addListener, close, closeCommunicationLink, decorateFileObject, doCloseCommunicationLink, fireFileChanged, fireFileCreated, fireFileDeleted, getAttribute, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, hasCapability, init, isOpen, isReleaseable, notifyAllStreamsClosed, putFileToCache, removeFileFromCache, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttribute |
| Methods inherited from class org.apache.commons.vfs.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.vfs.FileSystem |
|---|
addJunction, addListener, getAttribute, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, hasCapability, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttribute |
| Field Detail |
|---|
private final java.lang.String rootFile
| Constructor Detail |
|---|
public LocalFileSystem(FileName rootName,
java.lang.String rootFile,
FileSystemOptions opts)
| Method Detail |
|---|
protected FileObject createFile(FileName name)
throws FileSystemException
createFile in class AbstractFileSystemFileSystemExceptionprotected void addCapabilities(java.util.Collection caps)
addCapabilities in class AbstractFileSystem
protected java.io.File doReplicateFile(FileObject fileObject,
FileSelector selector)
throws java.lang.Exception
doReplicateFile in class AbstractFileSystemjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||