public class NioZipFileSystem extends Object
Constructor and Description |
---|
NioZipFileSystem() |
Modifier and Type | Method and Description |
---|---|
static NioVirtualFile |
mount(URI uri)
Get the root
VirtualFile for the given uri. |
static NioVirtualFile |
mount(URL url)
Get the root
VirtualFile for the given JAR url. |
public static NioVirtualFile mount(URL url) throws IOException, URISyntaxException
VirtualFile
for the given JAR url.
Any previous filesystem for this url will be closed.
The returned file will be used to auto close the filesystem.
It should be strongly held until the filesystem is no longer needed.url
- IOException
URISyntaxException
public static NioVirtualFile mount(URI uri) throws IOException
VirtualFile
for the given uri.
Any previous filesystem for this url will be closed.
The returned file will be used to auto close the filesystem.
It should be strongly held until the filesystem is no longer needed.uri
- IOException
Copyright © 2020. All rights reserved.