public class BytesCapturingInputStream extends FilterInputStream
in
Constructor and Description |
---|
BytesCapturingInputStream(InputStream input) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Returns all data captured so far, without resetting.
|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, read, reset, skip
public BytesCapturingInputStream(InputStream input)
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
public byte[] getData()
Copyright © 2018. All rights reserved.