de.unkrig.commons.file.org.apache.commons.compress.compressors.gzip
Class Handler
java.lang.Object
java.net.URLStreamHandler
de.unkrig.commons.file.org.apache.commons.compress.compressors.CompressionURLStreamHandler
de.unkrig.commons.file.org.apache.commons.compress.compressors.gzip.Handler
public class Handler
- extends CompressionURLStreamHandler
A 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.
|
Method Summary |
protected java.io.InputStream |
open(java.io.InputStream containerInputStream)
Opens the given container and returns an InputStream that reads from it. |
| Methods inherited from class java.net.URLStreamHandler |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Handler
public Handler()
open
protected java.io.InputStream open(java.io.InputStream containerInputStream)
throws java.io.IOException
- Description copied from class:
CompressionURLStreamHandler
- Opens the given
container and returns an InputStream that reads from it.
- Specified by:
open in class CompressionURLStreamHandler
- Throws:
java.io.IOException