1 //////////////////////////////////////////////////////////////////////////////// 2 //CabaWeb 3 //Copyright (C) 2004 Thomas Vogt <Thomas.Vogt@TVC-Software.com> 4 // 5 //This library is free software; you can redistribute it and/or 6 //modify it under the terms of the GNU Lesser General Public 7 //License as published by the Free Software Foundation; either//version 2.1 of the License, or (at your option) any later version. 8 // 9 //This library is distributed in the hope that it will be useful, 10 //but WITHOUT ANY WARRANTY; without even the implied warranty of 11 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 //Lesser General Public License for more details. 13 // 14 //You should have received a copy of the GNU Lesser General Public 15 //License along with this library; if not, write to the Free Software 16 //Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 //////////////////////////////////////////////////////////////////////////////// 18 package org.fhw.cabaweb.export.databojects; 19 20 import java.io.ByteArrayOutputStream; 21 import java.io.Serializable; 22 23 /*** 24 * Identisch mit ByteArrayOutputStream implementiert jedoch das Interface Serializable. 25 * Das ermöglicht es diese Klasse zu cachen. 26 * 27 * @author <a href="mailto:thomas.vogt@tvc-software.com">Thomas Vogt</a> 28 * @version Version 1.0 15.09.2004 29 */ 30 public class CachableByteArrayOutputStream extends ByteArrayOutputStream implements Serializable 31 { 32 33 /*** 34 * Identisch mit ByteArrayOutputStream implementiert jedoch das Interface Serializable. 35 */ 36 public CachableByteArrayOutputStream() 37 { 38 super(); 39 } 40 41 /*** 42 * Identisch mit ByteArrayOutputStream implementiert jedoch das Interface Serializable. 43 * 44 * @param arg0 45 */ 46 public CachableByteArrayOutputStream(int arg0) 47 { 48 super(arg0); 49 } 50 51 }