Package org.apache.commons.vfs.impl
Class VirtualFileProvider
- java.lang.Object
-
- org.apache.commons.vfs.provider.AbstractVfsComponent
-
- org.apache.commons.vfs.provider.AbstractVfsContainer
-
- org.apache.commons.vfs.impl.VirtualFileProvider
-
- All Implemented Interfaces:
VfsComponent
public class VirtualFileProvider extends AbstractVfsContainer
A virtual filesystem provider.- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Wed, 29 Nov 2006) $
- Author:
- Adam Murdoch
-
-
Constructor Summary
Constructors Constructor Description VirtualFileProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileObject
createFileSystem(java.lang.String rootUri)
Creates an empty virtual file system.FileObject
createFileSystem(FileObject rootFile)
Creates a virtual file system, with the supplied file as its root.-
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
-
-
-
-
Method Detail
-
createFileSystem
public FileObject createFileSystem(FileObject rootFile) throws FileSystemException
Creates a virtual file system, with the supplied file as its root.- Throws:
FileSystemException
-
createFileSystem
public FileObject createFileSystem(java.lang.String rootUri) throws FileSystemException
Creates an empty virtual file system.- Throws:
FileSystemException
-
-