public class ByteRangeCapturingInputStream extends SdkFilterInputStream
| Constructor and Description |
|---|
ByteRangeCapturingInputStream(InputStream in,
long startingPosition,
long endingPosition) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBlock() |
void |
mark(int readlimit) |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
abort, available, close, getDelegateStream, isMetricActivated, markSupported, release, skipreadpublic ByteRangeCapturingInputStream(InputStream in, long startingPosition, long endingPosition)
public byte[] getBlock()
public int read()
throws IOException
read in class SdkFilterInputStreamIOExceptionpublic void mark(int readlimit)
mark in class SdkFilterInputStreampublic void reset()
throws IOException
reset in class SdkFilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class SdkFilterInputStreamIOException