public class XOutputStreamToByteArrayAdapter extends ComponentBase
bDisposed, bInDispose, listenerContainer
_mapImplementationIds, _mapTypes
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
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
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
com.sun.star.io.NotConnectedException
com.sun.star.io.BufferSizeExceededException
com.sun.star.io.IOException