public class NativeOutputStream
extends java.io.OutputStream
OutputStream
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 |
write(byte[] b,
int off,
int len)
Writes
len bytes at offset off from
b to the underyling native stream. |
void |
write(int b)
Writes a single byte to the underyling native stream.
|
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException
OutputStream.close()
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
OutputStream.write(int)
public void write(byte[] b, int off, int len) throws java.io.IOException
len
bytes at offset off
from
b
to the underyling native stream.write
in class java.io.OutputStream
java.io.IOException
OutputStream.write(byte[],int,int)
public void finalize()
finalize
in class java.lang.Object