01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05:
06: package com.sun.portal.search.soif;
07:
08: /**
09: * SOIFBuffer is a convenience class for temporary storage of
10: * serialized SOIF objects. It is based on the standard ByteArrayOutputStream.
11: */
12: public class SOIFBuffer extends java.io.ByteArrayOutputStream {
13:
14: /** Creates a new SOIFBuffer with default capacity 2000 bytes */
15: public SOIFBuffer() {
16: super (2000);
17: }
18:
19: /** Creates new SOIFBuffer with specified initial capacity */
20: public SOIFBuffer(int size) {
21: super(size);
22: }
23:
24: }
|