public class CaptureInputStream extends FilterInputStream
in
Constructor and Description |
---|
CaptureInputStream(InputStream in) |
CaptureInputStream(InputStream in,
long maxData) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getCapturedData() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, reset, skip
public CaptureInputStream(InputStream in, long maxData)
public CaptureInputStream(InputStream in)
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b) 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[] getCapturedData()
Copyright © 2019. All Rights Reserved.