|
|||||||||
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.ram.RamFileSystem
public class RamFileSystem
A RAM File System.
Constructor Summary | |
---|---|
protected |
RamFileSystem(FileName rootName,
FileSystemOptions fileSystemOptions)
|
Method Summary | |
---|---|
protected void |
addCapabilities(java.util.Collection<Capability> caps)
Adds the capabilities of this file system. |
void |
attach(RamFileObject fo)
|
void |
close()
Close the RAMFileSystem. |
protected FileObject |
createFile(AbstractFileName name)
Creates a file object. |
void |
importTree(java.io.File file)
Import a Tree. |
Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileSystem |
---|
addJunction, addListener, closeCommunicationLink, decorateFileObject, doCloseCommunicationLink, doReplicateFile, 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 |
Constructor Detail |
---|
protected RamFileSystem(FileName rootName, FileSystemOptions fileSystemOptions)
rootName
- The root file name.fileSystemOptions
- The FileSystem options.Method Detail |
---|
protected FileObject createFile(AbstractFileName name) throws java.lang.Exception
AbstractFileSystem
createFile
in class AbstractFileSystem
java.lang.Exception
protected void addCapabilities(java.util.Collection<Capability> caps)
AbstractFileSystem
addCapabilities
in class AbstractFileSystem
public void attach(RamFileObject fo)
public void importTree(java.io.File file) throws FileSystemException
file
- The File
FileSystemException
- if an error occurs.public void close()
close
in interface VfsComponent
close
in class AbstractFileSystem
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |