@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.FilterInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class java.io.FilterInputStream
java.io.IOException
public void setGuardState(boolean guardState)
guardState
- true
(= default) enables the threshold checkCopyright 2021 The Apache Software Foundation or its licensors, as applicable.