Package com.sun.xml.ws.transport.tcp.io
Class ByteBufferOutputStream
java.lang.Object
java.io.OutputStream
com.sun.xml.ws.transport.tcp.io.ByteBufferOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Author:
- Alexey Stashok
-
Constructor Summary
ConstructorsConstructorDescriptionByteBufferOutputStream(int initSize) ByteBufferOutputStream(ByteBuffer outputBuffer) -
Method Summary
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write, write
-
Constructor Details
-
ByteBufferOutputStream
public ByteBufferOutputStream() -
ByteBufferOutputStream
public ByteBufferOutputStream(int initSize) -
ByteBufferOutputStream
-
-
Method Details
-
reset
public void reset() -
getByteBuffer
-
write
public void write(int data) - Specified by:
writein classOutputStream
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream
-