| Access | Constructor and Description |
|---|---|
| public | JarArchiveInputStream(final InputStream
the input stream to wrap inputStream)Creates an instance from the input stream using the default encoding. |
| public | JarArchiveInputStream(final InputStream
the input stream to wrap inputStream, final String the encoding to use encoding)Creates an instance from the input stream using the specified encoding. |
| Modifier and Type | Method and Description |
|---|---|
| public JarArchiveEntry | getNextEntry()
Overrides org. |
| public JarArchiveEntry | |
| public static boolean | Returns: true, if this stream is a jar archive stream, false otherwisethe bytes to check signature, final int the number of bytes to check length)Hides org. |
| JarArchiveInputStream | back to summary |
|---|---|
| public JarArchiveInputStream(final InputStream inputStream) Creates an instance from the input stream using the default encoding.
| |
| JarArchiveInputStream | back to summary |
|---|---|
| public JarArchiveInputStream(final InputStream inputStream, final String encoding) Creates an instance from the input stream using the specified encoding.
| |
| getNextEntry | back to summary |
|---|---|
| public JarArchiveEntry getNextEntry() throws IOException Overrides org. Doc from org. Gets the next Archive Entry in this Stream.
| |
| getNextJarEntry | back to summary |
|---|---|
| public JarArchiveEntry getNextJarEntry() throws IOException
Deprecated Use Gets the next entry.
| |
| matches | back to summary |
|---|---|
| public static boolean matches(final byte[] signature, final int length) Hides org. Checks if the signature matches what is expected for a jar file (in this case it is the same as for a ZIP file).
| |