org.openoffice.da.comp.w2lcommon.filter
public class ByteArrayXStream extends Object implements XInputStream, XOutputStream, XSeekable, XStream
This is a java-uno adapter class which implements XStream using a byte array. (We need this because XGraphicProvider demans read/write access when storing a graphic to a stream.)
| Constructor Summary | |
|---|---|
| ByteArrayXStream() | |
| Method Summary | |
|---|---|
| int | available() |
| void | closeInput() |
| void | closeOutput() |
| void | flush() |
| byte[] | getBuffer() |
| XInputStream | getInputStream() |
| long | getLength() |
| XOutputStream | getOutputStream() |
| long | getPosition() |
| int | readBytes(byte[][] values, int param) |
| int | readSomeBytes(byte[][] values, int param) |
| void | seek(long param) |
| void | skipBytes(int param) |
| void | writeBytes(byte[] values) |