core/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileProvider.java
/**
     * Creates a layered file system.  This method is called if the file system
     * is not cached.
     *
     * @param scheme The URI scheme.
     * @param file   The file to create the file system on top of.
     * @return The file system.
     */
Creates a layered file system.  This method is called if the file system
is not cached.

@param scheme The URI scheme.
@param file   The file to create the file system on top of.
@return The file system.
Creates a layered file system . This method is called if the file system is not cached . @param scheme The URI scheme . @param file The file to create the file system on top of . @return The file system .
@Override
    protected FileSystem doCreateFileSystem(final String scheme,
                                            final FileObject file,
                                            final FileSystemOptions fileSystemOptions)
        throws FileSystemException
    {
        final AbstractFileName rootName =
            new LayeredFileName(scheme, file.getName(), FileName.ROOT_PATH, FileType.FOLDER);
        return new ZipFileSystem(rootName, file, fileSystemOptions);
    }
@ Override protected FileSystem doCreateFileSystem ( final String scheme , final FileObject file , final FileSystemOptions fileSystemOptions ) throws FileSystemException { final AbstractFileName rootName = new LayeredFileName ( scheme , file . getName ( ) , FileName . ROOT_PATH , FileType . FOLDER ) ; return new ZipFileSystem ( rootName , file , fileSystemOptions ) ; }
Creates a layered file system.
Creates a layered file system .