public abstract class ArchiveURLStreamHandler
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 |
|---|
ArchiveURLStreamHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.apache.commons.compress.archivers.ArchiveInputStream |
open(java.io.InputStream containerInputStream)
Opens the given
container, finds the entry with the given entryName and returns an
InputStream that reads from it. |
protected java.net.URLConnection |
openConnection(java.net.URL url) |
protected abstract org.apache.commons.compress.archivers.ArchiveInputStream open(java.io.InputStream containerInputStream)
throws org.apache.commons.compress.archivers.ArchiveException
container, finds the entry with the given entryName and returns an
InputStream that reads from it.org.apache.commons.compress.archivers.ArchiveExceptionprotected java.net.URLConnection openConnection(@Nullable java.net.URL url)
openConnection in class java.net.URLStreamHandler