public class LocalBlockInStream 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) |
getavailable, mark, markSupported, resetpublic int read()
throws IOException
read in class InStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InStreamIOExceptionpublic void seek(long pos)
throws IOException
InStreamseek in class InStreampos - 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 © 2014. All rights reserved.