org.apache.commons.compress.archivers.jar
Class JarArchiveInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.apache.commons.compress.archivers.ArchiveInputStream
          extended by org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
              extended by org.apache.commons.compress.archivers.jar.JarArchiveInputStream
All Implemented Interfaces:
java.io.Closeable

public class JarArchiveInputStream
extends ZipArchiveInputStream


Constructor Summary
JarArchiveInputStream(java.io.InputStream inputStream)
           
 
Method Summary
 ArchiveEntry getNextEntry()
          Returns the next Archive Entry in this Stream.
static boolean matches(byte[] signature)
           
 
Methods inherited from class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
read, read
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarArchiveInputStream

public JarArchiveInputStream(java.io.InputStream inputStream)
                      throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getNextEntry

public ArchiveEntry getNextEntry()
                          throws java.io.IOException
Description copied from class: ArchiveInputStream
Returns the next Archive Entry in this Stream.

Overrides:
getNextEntry in class ZipArchiveInputStream
Returns:
the next entry
Throws:
java.io.IOException - if the next entry could not be read

matches

public static boolean matches(byte[] signature)