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, removeEventListenergetImplementationId, getTypes, queryAdapterpublic 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.NotConnectedExceptioncom.sun.star.io.BufferSizeExceededExceptioncom.sun.star.io.IOExceptionpublic void flush()
throws com.sun.star.io.NotConnectedException,
com.sun.star.io.BufferSizeExceededException,
com.sun.star.io.IOException
com.sun.star.io.NotConnectedExceptioncom.sun.star.io.BufferSizeExceededExceptioncom.sun.star.io.IOExceptionpublic void writeBytes(byte[] values)
throws com.sun.star.io.NotConnectedException,
com.sun.star.io.BufferSizeExceededException,
com.sun.star.io.IOException
com.sun.star.io.NotConnectedExceptioncom.sun.star.io.BufferSizeExceededExceptioncom.sun.star.io.IOException