public class ZipInputStream extends InputStream
Constructor and Description |
---|
ZipInputStream(InputStream inputStream) |
ZipInputStream(InputStream inputStream,
char[] password) |
ZipInputStream(InputStream inputStream,
char[] password,
Charset charset) |
ZipInputStream(InputStream inputStream,
char[] password,
Zip4jConfig zip4jConfig) |
ZipInputStream(InputStream inputStream,
Charset charset) |
ZipInputStream(InputStream inputStream,
PasswordCallback passwordCallback) |
ZipInputStream(InputStream inputStream,
PasswordCallback passwordCallback,
Charset charset) |
ZipInputStream(InputStream inputStream,
PasswordCallback passwordCallback,
Zip4jConfig zip4jConfig) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
LocalFileHeader |
getNextEntry() |
LocalFileHeader |
getNextEntry(FileHeader fileHeader,
boolean readUntilEndOfCurrentEntryIfOpen) |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
setPassword(char[] password)
Sets the password for the inputstream.
|
mark, markSupported, reset, skip
public ZipInputStream(InputStream inputStream)
public ZipInputStream(InputStream inputStream, Charset charset)
public ZipInputStream(InputStream inputStream, char[] password)
public ZipInputStream(InputStream inputStream, PasswordCallback passwordCallback)
public ZipInputStream(InputStream inputStream, char[] password, Charset charset)
public ZipInputStream(InputStream inputStream, PasswordCallback passwordCallback, Charset charset)
public ZipInputStream(InputStream inputStream, char[] password, Zip4jConfig zip4jConfig)
public ZipInputStream(InputStream inputStream, PasswordCallback passwordCallback, Zip4jConfig zip4jConfig)
public LocalFileHeader getNextEntry() throws IOException
IOException
public LocalFileHeader getNextEntry(FileHeader fileHeader, boolean readUntilEndOfCurrentEntryIfOpen) throws IOException
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b) throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void setPassword(char[] password)
password
- Password to be used for reading of entries from the zip input streamCopyright © 2021. All rights reserved.