public class NioZipFileSystem extends Object
Constructor and Description |
---|
NioZipFileSystem() |
Modifier and Type | Method and Description |
---|---|
static org.teiid.query.metadata.NioVirtualFile |
mount(InputStream is)
Get the root
NioVirtualFile for the given InputStream. |
public static org.teiid.query.metadata.NioVirtualFile mount(InputStream is) throws IOException, URISyntaxException
NioVirtualFile
for the given InputStream.
Any previous filesystem for this InputStream 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.is
- IOException
URISyntaxException
Copyright © 2020. All rights reserved.