Class NativeOutputStream
java.lang.Object
java.io.OutputStream
org.apache.subversion.javahl.types.NativeOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class NativeOutputStream extends OutputStream
Implementation class for
OutputStream objects returned from
JavaHL methods.- Since:
- 1.9
-
Method Summary
Modifier and Type Method Description voidclose()Flushes buffers, closes the underlying native stream, and releases the native object.voidfinalize()voidwrite(byte[] b, int off, int len)Writeslenbytes at offsetofffrombto the underyling native stream.voidwrite(int b)Writes a single byte to the underyling native stream.
-
Method Details
-
close
Flushes buffers, closes the underlying native stream, and releases the native object.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
write
Writes a single byte to the underyling native stream.- Specified by:
writein classOutputStream- Throws:
IOException
-
write
Writeslenbytes at offsetofffrombto the underyling native stream.- Overrides:
writein classOutputStream- Throws:
IOException
-
finalize
public void finalize()
-