com.sun.tools.classfile
Class ClassWriter.ClassOutputStream
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
com.sun.tools.classfile.ClassWriter.ClassOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
- Enclosing class:
- ClassWriter
protected static class ClassWriter.ClassOutputStream
- extends java.io.ByteArrayOutputStream
Subtype of ByteArrayOutputStream with the convenience methods of
a DataOutputStream. Since ByteArrayOutputStream does not throw
IOException, there are no exceptions from the additional
convenience methods either,
|
Field Summary |
private java.io.DataOutputStream |
d
|
| Fields inherited from class java.io.ByteArrayOutputStream |
buf, count |
| 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
d
private java.io.DataOutputStream d
ClassWriter.ClassOutputStream
public ClassWriter.ClassOutputStream()
writeByte
public void writeByte(int value)
writeShort
public void writeShort(int value)
writeInt
public void writeInt(int value)
writeLong
public void writeLong(long value)
writeFloat
public void writeFloat(float value)
writeDouble
public void writeDouble(double value)
writeUTF
public void writeUTF(java.lang.String value)
writeTo
public void writeTo(ClassWriter.ClassOutputStream s)