public abstract class ArchiveURLStreamHandler extends URLStreamHandler
URLStreamHandler
which makes the implementation of archive-based URLStreamHandler
s
simple.
The path component is interpreted as follows:
container-url!entry-name
Constructor and Description |
---|
ArchiveURLStreamHandler() |
Modifier and Type | Method and Description |
---|---|
protected abstract org.apache.commons.compress.archivers.ArchiveInputStream |
open(InputStream containerInputStream)
Wraps the containerInputStream in an
ArchiveInputStream . |
protected URLConnection |
openConnection(URL url) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
protected abstract org.apache.commons.compress.archivers.ArchiveInputStream open(InputStream containerInputStream) throws org.apache.commons.compress.archivers.ArchiveException
ArchiveInputStream
.org.apache.commons.compress.archivers.ArchiveException
protected URLConnection openConnection(@Nullable URL url)
openConnection
in class URLStreamHandler
Copyright © 2018 Arno Unkrig. All rights reserved.