org.apache.commons.vfs2.impl
Class VirtualFileProvider
java.lang.Object
org.apache.commons.vfs2.provider.AbstractVfsComponent
org.apache.commons.vfs2.provider.AbstractVfsContainer
org.apache.commons.vfs2.impl.VirtualFileProvider
- All Implemented Interfaces:
- VfsComponent
public class VirtualFileProvider
- extends AbstractVfsContainer
A virtual filesystem provider.
- Version:
- $Revision: 1039630 $ $Date: 2010-11-27 14:57:50 +0530 (Sat, 27 Nov 2010) $
- Author:
- Commons VFS team
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VirtualFileProvider
public VirtualFileProvider()
createFileSystem
public FileObject createFileSystem(FileObject rootFile)
throws FileSystemException
- Creates a virtual file system, with the supplied file as its root.
- Parameters:
rootFile - The root of the file system.
- Returns:
- A FileObject in the FileSystem.
- Throws:
FileSystemException - if an error occurs.
createFileSystem
public FileObject createFileSystem(String rootUri)
throws FileSystemException
- Creates an empty virtual file system.
- Parameters:
rootUri - The root of the file system.
- Returns:
- A FileObject in the FileSystem.
- Throws:
FileSystemException - if an error occurs.
Copyright © 2002–2015 WSO2. All rights reserved.