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, isMetricActivated, markSupported, release, skip
read
public ByteRangeCapturingInputStream(InputStream in, long startingPosition, long endingPosition)
public byte[] getBlock()
public int read() throws IOException
read
in class SdkFilterInputStream
IOException
public void mark(int readlimit)
mark
in class SdkFilterInputStream
public void reset() throws IOException
reset
in class SdkFilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class SdkFilterInputStream
IOException
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.