StarOffice 5.2 API
reverse engineered by classdoc

com.sun.star.lib.io
Class MemoryOutputStream

java.lang.Object
  |
  +--com.sun.star.lib.io.MemoryOutputStream
All Implemented Interfaces:
java.io.DataOutput

public synchronized class MemoryOutputStream
extends java.lang.Object
implements java.io.DataOutput


Field Summary
(package private)  java.io.ByteArrayOutputStream out
           
 
Constructor Summary
MemoryOutputStream()
           
MemoryOutputStream(int i)
           
 
Method Summary
 byte[] getBytes()
           
 void reset()
           
 void write(byte b)
           
 void write(byte[] b)
           
 void write(byte[] b, int i1, int i2)
           
 void write(int i)
           
 void write(int[] i)
           
 void writeBoolean(boolean b)
           
 void writeByte(int i)
           
 void writeBytes(java.lang.String s)
           
 void writeChar(int i)
           
 void writeChars(java.lang.String s)
           
 void writeDouble(double d)
           
 void writeFloat(float f)
           
 void writeInt(int i)
           
 void writeLong(long l)
           
 void writeShort(int i)
           
 void writeUTF(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

java.io.ByteArrayOutputStream out
Constructor Detail

MemoryOutputStream

public MemoryOutputStream()

MemoryOutputStream

public MemoryOutputStream(int i)
Method Detail

getBytes

public byte[] getBytes()

reset

public void reset()

write

public void write(byte b)

write

public void write(byte[] b)
           throws java.io.IOException
Specified by:
write in interface java.io.DataOutput

write

public void write(byte[] b,
                  int i1,
                  int i2)
           throws java.io.IOException
Specified by:
write in interface java.io.DataOutput

write

public void write(int i)
           throws java.io.IOException
Specified by:
write in interface java.io.DataOutput

write

public void write(int[] i)
           throws java.io.IOException

writeBoolean

public void writeBoolean(boolean b)
                  throws java.io.IOException
Specified by:
writeBoolean in interface java.io.DataOutput

writeByte

public void writeByte(int i)
               throws java.io.IOException
Specified by:
writeByte in interface java.io.DataOutput

writeBytes

public void writeBytes(java.lang.String s)
                throws java.io.IOException
Specified by:
writeBytes in interface java.io.DataOutput

writeChar

public void writeChar(int i)
               throws java.io.IOException
Specified by:
writeChar in interface java.io.DataOutput

writeChars

public void writeChars(java.lang.String s)
                throws java.io.IOException
Specified by:
writeChars in interface java.io.DataOutput

writeDouble

public void writeDouble(double d)
                 throws java.io.IOException
Specified by:
writeDouble in interface java.io.DataOutput

writeFloat

public void writeFloat(float f)
                throws java.io.IOException
Specified by:
writeFloat in interface java.io.DataOutput

writeInt

public final void writeInt(int i)
                    throws java.io.IOException
Specified by:
writeInt in interface java.io.DataOutput

writeLong

public void writeLong(long l)
               throws java.io.IOException
Specified by:
writeLong in interface java.io.DataOutput

writeShort

public final void writeShort(int i)
                      throws java.io.IOException
Specified by:
writeShort in interface java.io.DataOutput

writeUTF

public void writeUTF(java.lang.String s)
              throws java.io.IOException
Specified by:
writeUTF in interface java.io.DataOutput

StarOffice 5.2 API
reverse engineered by classdoc