Top Fields Constructors Methods
com.sun.star.lib.uno.adapter

public final Class XOutputStreamToByteArrayAdapter

extends ComponentBase
implements com.sun.star.io.XOutputStream
Class Inheritance
Imports
com.sun.star.io.*, com.sun.star.lib.uno.helper.ComponentBase

Field Summary

Modifier and TypeField and Description
private byte[]
private boolean
private static final int
private int
private int
Inherited from com.sun.star.lib.uno.helper.ComponentBase:
bDisposedbInDisposelistenerContainer

Constructor Summary

AccessConstructor and Description
public
XOutputStreamToByteArrayAdapter()

Creates a new instance of ByteArrayXOutputStream

public

Method Summary

Modifier and TypeMethod and Description
public void
public void
public byte[]
public void
writeBytes(byte[] values)

Inherited from com.sun.star.lib.uno.helper.ComponentBase:
addEventListenerdisposefinalizepostDisposingpreDisposingremoveEventListener

Field Detail

bufferback to summary
private byte[] buffer
externalBufferback to summary
private boolean externalBuffer
initialSizeback to summary
private static final int initialSize
positionback to summary
private int position
sizeback to summary
private int size

Constructor Detail

XOutputStreamToByteArrayAdapterback to summary
public XOutputStreamToByteArrayAdapter()

Creates a new instance of ByteArrayXOutputStream

XOutputStreamToByteArrayAdapterback to summary
public XOutputStreamToByteArrayAdapter(byte[] aBuffer)

Method Detail

closeOutputback to summary
public void closeOutput() throws com.sun.star.io.NotConnectedException, com.sun.star.io.BufferSizeExceededException, com.sun.star.io.IOException
flushback to summary
public void flush() throws com.sun.star.io.NotConnectedException, com.sun.star.io.BufferSizeExceededException, com.sun.star.io.IOException
getBufferback to summary
public byte[] getBuffer()
writeBytesback to summary
public void writeBytes(byte[] values) throws com.sun.star.io.NotConnectedException, com.sun.star.io.BufferSizeExceededException, com.sun.star.io.IOException