public class RemoteBlockInStream extends BlockInStream
BLOCK_INDEX, mClosed
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long pos)
Sets the stream pointer offset, measured from the beginning of this stream, at which the next
read or write occurs.
|
long |
skip(long n) |
get
available, mark, markSupported, reset
public int read() throws IOException
read
in class InStream
IOException
public int read(byte[] b) throws IOException
read
in class InStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InStream
IOException
public long skip(long n) throws IOException
skip
in class InStream
IOException
public void seek(long pos) throws IOException
InStream
seek
in class InStream
pos
- the offset position, measured in bytes from the beginning of the InStream, at which
to set the stream pointer.IOException
- if pos is less than 0 or if an I/O error occurs.Copyright © 2013. All rights reserved.