@Environment(value=CLIENT) static class PngFile.SeekableChannelReader extends PngFile.Reader
| Modifier and Type | Field and Description |
|---|---|
private SeekableByteChannel |
channel |
errored| Modifier | Constructor and Description |
|---|---|
private |
SeekableChannelReader(SeekableByteChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
eof(long user) |
int |
read(long data,
int size) |
void |
skip(int n) |
read, skipprivate final SeekableByteChannel channel
private SeekableChannelReader(SeekableByteChannel channel)
public int read(long data,
int size)
throws IOException
read in class PngFile.ReaderIOExceptionpublic void skip(int n)
throws IOException
skip in class PngFile.ReaderIOExceptionpublic int eof(long user)
eof in class PngFile.Readerpublic void close()
throws IOException
close in interface AutoCloseableclose in class PngFile.ReaderIOException