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.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionInputStream.close()public boolean markSupported()
markSupported in class java.io.InputStreamInputStream.markSupported()public void mark(int readlimit)
mark in class java.io.InputStreamInputStream.mark(int)public void reset()
throws java.io.IOException
reset in class java.io.InputStreamjava.io.IOExceptionInputStream.reset()public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionInputStream.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.InputStreamjava.io.IOExceptionInputStream.read(byte[],int,int)public long skip(long count)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOExceptionInputStream.skip(long)public void finalize()
finalize in class java.lang.Object