private class RandomAccessCharacterFile.RandomAccessInputStream extends PushbackInputStream
Modifier and Type | Field and Description |
---|---|
private byte[] |
read_buf |
buf, pos
in
Constructor and Description |
---|
RandomAccessInputStream() |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
void |
unread(byte[] b) |
void |
unread(byte[] b,
int off,
int len) |
void |
unread(int b) |
public final int read() throws IOException
read
in class PushbackInputStream
IOException
public final int read(byte[] b, int off, int len) throws IOException
read
in class PushbackInputStream
IOException
public final void unread(int b) throws IOException
unread
in class PushbackInputStream
IOException
public final void unread(byte[] b, int off, int len) throws IOException
unread
in class PushbackInputStream
IOException
public final void unread(byte[] b) throws IOException
unread
in class PushbackInputStream
IOException
public final int available() throws IOException
available
in class PushbackInputStream
IOException
public final void mark(int readlimit)
mark
in class PushbackInputStream
public final boolean markSupported()
markSupported
in class PushbackInputStream
public final void reset() throws IOException
reset
in class PushbackInputStream
IOException
public final long skip(long n) throws IOException
skip
in class PushbackInputStream
IOException
public final int read(byte[] b) throws IOException
read
in class FilterInputStream
IOException
public final void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class PushbackInputStream
IOException