public class PeekInputStream extends InputStream
| Constructor and Description |
|---|
PeekInputStream(InputStream source) |
| Modifier and Type | Method and Description |
|---|---|
int |
peek() |
byte[] |
peek(int numberOfBytes) |
int |
read() |
available, close, mark, markSupported, read, read, reset, skippublic PeekInputStream(InputStream source) throws IOException
IOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int peek()
throws IOException
IOExceptionpublic byte[] peek(int numberOfBytes)
throws IOException
IOExceptionCopyright © 2002–2019 The Apache Software Foundation. All rights reserved.