public final class XOutputStreamToByteArrayAdapter extends ComponentBase implements com.sun.star.io.XOutputStream
bDisposed, bInDispose, listenerContainer
Constructor and Description |
---|
XOutputStreamToByteArrayAdapter()
Creates a new instance of ByteArrayXOutputStream
|
XOutputStreamToByteArrayAdapter(byte[] aBuffer) |
Modifier and Type | Method and Description |
---|---|
void |
closeOutput() |
void |
flush() |
byte[] |
getBuffer() |
void |
writeBytes(byte[] values) |
addEventListener, dispose, finalize, postDisposing, preDisposing, removeEventListener
getImplementationId, getTypes, queryAdapter
public XOutputStreamToByteArrayAdapter()
public XOutputStreamToByteArrayAdapter(byte[] aBuffer)
public byte[] getBuffer()
public void closeOutput() throws com.sun.star.io.NotConnectedException, com.sun.star.io.BufferSizeExceededException, com.sun.star.io.IOException
closeOutput
in interface com.sun.star.io.XOutputStream
com.sun.star.io.NotConnectedException
com.sun.star.io.BufferSizeExceededException
com.sun.star.io.IOException
public void flush() throws com.sun.star.io.NotConnectedException, com.sun.star.io.BufferSizeExceededException, com.sun.star.io.IOException
flush
in interface com.sun.star.io.XOutputStream
com.sun.star.io.NotConnectedException
com.sun.star.io.BufferSizeExceededException
com.sun.star.io.IOException
public void writeBytes(byte[] values) throws com.sun.star.io.NotConnectedException, com.sun.star.io.BufferSizeExceededException, com.sun.star.io.IOException
writeBytes
in interface com.sun.star.io.XOutputStream
com.sun.star.io.NotConnectedException
com.sun.star.io.BufferSizeExceededException
com.sun.star.io.IOException