public class Handler extends CompressionURLStreamHandler
URLStreamHandler
for the protocol "gzip
".
The path component of the URL is used as the URL of the container.
The contents of the container must be in the GZIP compression format.
This handler is registered by CompressionFormatFactory
.
Constructor and Description |
---|
Handler() |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
open(InputStream containerInputStream)
Wraps the containerInputStream in a decompressing stream.
|
openConnection
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
protected InputStream open(InputStream containerInputStream) throws IOException
CompressionURLStreamHandler
open
in class CompressionURLStreamHandler
IOException
Copyright © 2018 Arno Unkrig. All rights reserved.