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, skippublic BytesCapturingInputStream(InputStream input)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic byte[] getData()
Copyright © 2021. All rights reserved.