public static class ZipSecureFile.ThresholdInputStream
extends java.io.PushbackInputStream
Constructor and Description |
---|
ThresholdInputStream(java.io.InputStream is,
ZipSecureFile.ThresholdInputStream cis) |
Modifier and Type | Method and Description |
---|---|
void |
advance(int advance) |
int |
available() |
void |
closeEntry() |
java.util.zip.ZipEntry |
getNextEntry() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
void |
unread(byte[] b,
int off,
int len) |
void |
unread(int b) |
public ThresholdInputStream(java.io.InputStream is, ZipSecureFile.ThresholdInputStream cis)
public int read() throws java.io.IOException
read
in class java.io.PushbackInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.PushbackInputStream
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class java.io.PushbackInputStream
java.io.IOException
public void reset() throws java.io.IOException
reset
in class java.io.PushbackInputStream
java.io.IOException
public void advance(int advance) throws java.io.IOException
java.io.IOException
public java.util.zip.ZipEntry getNextEntry() throws java.io.IOException
java.io.IOException
public void closeEntry() throws java.io.IOException
java.io.IOException
public void unread(int b) throws java.io.IOException
unread
in class java.io.PushbackInputStream
java.io.IOException
public void unread(byte[] b, int off, int len) throws java.io.IOException
unread
in class java.io.PushbackInputStream
java.io.IOException
public int available() throws java.io.IOException
available
in class java.io.PushbackInputStream
java.io.IOException
public boolean markSupported()
markSupported
in class java.io.PushbackInputStream
public void mark(int readlimit)
mark
in class java.io.PushbackInputStream
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.