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: 764356 $ $Date: 2009-04-13 06:06:01 +0200(lun, 13 apr 2009) $
- Author:
- Adam Murdoch
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-2011 Apache Software Foundation. All Rights Reserved.