core/src/main/java/org/apache/commons/vfs2/impl/VirtualFileProvider.java
/**
     * Creates an empty virtual file system.
     * @param rootUri The root of the file system.
     * @return A FileObject in the FileSystem.
     * @throws FileSystemException if an error occurs.
     */
Creates an empty virtual file system.
@param rootUri The root of the file system.
Creates an empty virtual file system . @param rootUri The root of the file system .
public FileObject createFileSystem(final String rootUri) throws FileSystemException
    {
        final AbstractFileName rootName =
            new VirtualFileName(rootUri, FileName.ROOT_PATH, FileType.FOLDER);
        final VirtualFileSystem fs = new VirtualFileSystem(rootName, null);
        addComponent(fs);
        return fs.getRoot();
    }
public FileObject createFileSystem ( final String rootUri ) throws FileSystemException { final AbstractFileName rootName = new VirtualFileName ( rootUri , FileName . ROOT_PATH , FileType . FOLDER ) ; final VirtualFileSystem fs = new VirtualFileSystem ( rootName , null ) ; addComponent ( fs ) ; return fs . getRoot ( ) ; }
Creates an empty virtual file system.
Creates an empty virtual file system .
// final FileName rootName = //    new BasicFileName(rootUri, FileName.ROOT_PATH);