de.unkrig.commons.file.org.apache.commons.compress.archivers.arj
Class Handler
java.lang.Object
java.net.URLStreamHandler
de.unkrig.commons.file.org.apache.commons.compress.archivers.ArchiveURLStreamHandler
de.unkrig.commons.file.org.apache.commons.compress.archivers.arj.Handler
public class Handler
- extends ArchiveURLStreamHandler
A URLStreamHandler for the protocol "arj".
The path component is interpreted as follows:
container-url!entry-name
The contents of the container must be in the ARJ archive format.
This handler is registered by ArchiveFormatFactory.
|
Method Summary |
protected 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. |
| 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 org.apache.commons.compress.archivers.ArchiveInputStream open(java.io.InputStream containerInputStream)
throws org.apache.commons.compress.archivers.ArchiveException
- Description copied from class:
ArchiveURLStreamHandler
- Opens the given
container, finds the entry with the given entryName and returns an
InputStream that reads from it.
- Specified by:
open in class ArchiveURLStreamHandler
- Throws:
org.apache.commons.compress.archivers.ArchiveException