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.PushbackInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.PushbackInputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.PushbackInputStreamjava.io.IOExceptionpublic void reset()
throws java.io.IOException
reset in class java.io.PushbackInputStreamjava.io.IOExceptionpublic void advance(int advance)
throws java.io.IOException
java.io.IOExceptionpublic java.util.zip.ZipEntry getNextEntry()
throws java.io.IOException
java.io.IOExceptionpublic void closeEntry()
throws java.io.IOException
java.io.IOExceptionpublic void unread(int b)
throws java.io.IOException
unread in class java.io.PushbackInputStreamjava.io.IOExceptionpublic void unread(byte[] b,
int off,
int len)
throws java.io.IOException
unread in class java.io.PushbackInputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.PushbackInputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.PushbackInputStreampublic void mark(int readlimit)
mark in class java.io.PushbackInputStreamCopyright 2018 The Apache Software Foundation or its licensors, as applicable.