public abstract class CompressionURLStreamHandler 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 |
---|
CompressionURLStreamHandler() |
Modifier and Type | Method and Description |
---|---|
protected abstract InputStream |
open(InputStream containerInputStream)
Wraps the containerInputStream in a decompressing stream.
|
protected URLConnection |
openConnection(URL url) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
protected abstract InputStream open(InputStream containerInputStream) throws IOException
IOException
protected URLConnection openConnection(@Nullable URL url)
openConnection
in class URLStreamHandler
Copyright © 2018 Arno Unkrig. All rights reserved.