java.io
Class ByteArrayOutputStream
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
- public class ByteArrayOutputStream
- extends OutputStream
Field Summary |
protected byte[] |
buf
|
protected int |
count
|
buf
protected byte[] buf
count
protected int count
ByteArrayOutputStream
public ByteArrayOutputStream()
ByteArrayOutputStream
public ByteArrayOutputStream(int)
size
public int size()
close
public void close()
throws IOException
- Overrides:
close
in class OutputStream
- Throws:
IOException
reset
public void reset()
toByteArray
public byte[] toByteArray()
write
public void write(int)
write
public void write(byte[],
int,
int)
- Overrides:
write
in class OutputStream
writeTo
public void writeTo(OutputStream)
throws IOException
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
toString
public String toString(int)
toString
public String toString(String)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.