|
||||||||||
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.AbstractVfsContainer
org.apache.commons.vfs.impl.VirtualFileProvider
public class VirtualFileProvider
A virtual filesystem provider.
Constructor Summary | |
---|---|
VirtualFileProvider()
|
Method Summary | |
---|---|
FileObject |
createFileSystem(FileObject rootFile)
Creates a virtual file system, with the supplied file as its root. |
FileObject |
createFileSystem(java.lang.String rootUri)
Creates an empty virtual file system. |
Methods inherited from class org.apache.commons.vfs.provider.AbstractVfsContainer |
---|
addComponent, close, removeComponent |
Methods inherited from class org.apache.commons.vfs.provider.AbstractVfsComponent |
---|
getContext, getLogger, init, setContext, setLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VirtualFileProvider()
Method Detail |
---|
public FileObject createFileSystem(FileObject rootFile) throws FileSystemException
rootFile
- The root of the file system.
FileSystemException
- if an error occurs.public FileObject createFileSystem(java.lang.String rootUri) throws FileSystemException
rootUri
- The root of the file system.
FileSystemException
- if an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |