de.unkrig.commons.file.org.apache.commons.compress.compressors.pack200
Class Handler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by de.unkrig.commons.file.org.apache.commons.compress.compressors.CompressionURLStreamHandler
          extended by de.unkrig.commons.file.org.apache.commons.compress.compressors.pack200.Handler

public class Handler
extends CompressionURLStreamHandler

A URLStreamHandler for the protocol "pack200".

The path component of the URL is used as the URL of the container.

The contents of the container must be in the PACK200 compression format.

This handler is registered by CompressionFormatFactory.


Constructor Summary
Handler()
           
 
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 de.unkrig.commons.file.org.apache.commons.compress.compressors.CompressionURLStreamHandler
openConnection
 
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
 

Constructor Detail

Handler

public Handler()
Method Detail

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