@Internal public class ZipArchiveThresholdInputStream extends java.io.FilterInputStream
| Constructor and Description |
|---|
ZipArchiveThresholdInputStream(java.io.InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
setGuardState(boolean guardState)
De-/activate threshold check.
|
long |
skip(long n) |
public ZipArchiveThresholdInputStream(java.io.InputStream is)
public int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.FilterInputStreamjava.io.IOExceptionpublic void setGuardState(boolean guardState)
guardState - true (= default) enables the threshold checkCopyright 2018 The Apache Software Foundation or its licensors, as applicable.