public class NativeInputStream
extends java.io.InputStream
InputStream
objects returned from
JavaHL methods.Modifier and Type | Method and Description |
---|---|
void |
close()
Flushes buffers, closes the underlying native stream, and
releases the native object.
|
void |
finalize() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read()
Reads a single byte from the underyling native stream.
|
int |
read(byte[] b,
int off,
int len)
Reads
len bytes to offset off in
b from the underyling native stream. |
void |
reset() |
long |
skip(long count) |
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
InputStream.close()
public boolean markSupported()
markSupported
in class java.io.InputStream
InputStream.markSupported()
public void mark(int readlimit)
mark
in class java.io.InputStream
InputStream.mark(int)
public void reset() throws java.io.IOException
reset
in class java.io.InputStream
java.io.IOException
InputStream.reset()
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
InputStream.read()
public int read(byte[] b, int off, int len) throws java.io.IOException
len
bytes to offset off
in
b
from the underyling native stream.read
in class java.io.InputStream
java.io.IOException
InputStream.read(byte[],int,int)
public long skip(long count) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException
InputStream.skip(long)
public void finalize()
finalize
in class java.lang.Object