public abstract class CompressionURLStreamHandler
extends java.net.URLStreamHandler
URLStreamHandler which makes the implementation of archive-based URLStreamHandlers
simple.
The path component is interpreted as follows:
container-url!entry-name| Constructor and Description |
|---|
CompressionURLStreamHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.io.InputStream |
open(java.io.InputStream containerInputStream)
Opens the given
container and returns an InputStream that reads from it. |
protected java.net.URLConnection |
openConnection(java.net.URL url) |
protected abstract java.io.InputStream open(java.io.InputStream containerInputStream)
throws java.io.IOException
container and returns an InputStream that reads from it.java.io.IOExceptionprotected java.net.URLConnection openConnection(@Nullable java.net.URL url)
openConnection in class java.net.URLStreamHandler