de.vxart.io
Class ZipEntryInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by de.vxart.io.ZipEntryInputStream
All Implemented Interfaces:
java.io.Closeable

public class ZipEntryInputStream
extends java.io.FilterInputStream

Extracts the data from a ZIP file block.

Author:
Philipp Reichart, philipp.reichart@vxart.de

Constructor Summary
ZipEntryInputStream(java.io.DataInputStream in)
          Creates am InputStream that will read the uncompressed data of a ZIP entry.
 
Method Summary
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipEntryInputStream

public ZipEntryInputStream(java.io.DataInputStream in)
                    throws java.io.IOException
Creates am InputStream that will read the uncompressed data of a ZIP entry. This class expects the given InputStream to be a complete ZIP local file block, starting with the magical number 0x04034B50.

Parameters:
in -
Throws:
java.io.IOException