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, skip
public PeekInputStream(InputStream source) throws IOException
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int peek() throws IOException
IOException
public byte[] peek(int numberOfBytes) throws IOException
IOException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.