com.sun.portal.search.soif
Class SOIFBuffer

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--java.io.ByteArrayOutputStream
              |
              +--com.sun.portal.search.soif.SOIFBuffer

public class SOIFBuffer
extends ByteArrayOutputStream

SOIFBuffer is a convenience class for temporary storage of serialized SOIF objects. It is based on the standard ByteArrayOutputStream.


Constructor Summary
SOIFBuffer()
          Creates a new SOIFBuffer with default capacity 2000 bytes
SOIFBuffer(int size)
          Creates new SOIFBuffer with specified initial capacity
 
Methods inherited from class java.io.ByteArrayOutputStream
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SOIFBuffer

public SOIFBuffer()
Creates a new SOIFBuffer with default capacity 2000 bytes

SOIFBuffer

public SOIFBuffer(int size)
Creates new SOIFBuffer with specified initial capacity