com.sun.tools.classfile
Class ClassWriter.ClassOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.ByteArrayOutputStream
          extended by 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
 
Constructor Summary
ClassWriter.ClassOutputStream()
           
 
Method Summary
 void writeByte(int value)
           
 void writeDouble(double value)
           
 void writeFloat(float value)
           
 void writeInt(int value)
           
 void writeLong(long value)
           
 void writeShort(int value)
           
 void writeTo(ClassWriter.ClassOutputStream s)
           
 void writeUTF(java.lang.String value)
           
 
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
 

Field Detail

d

private java.io.DataOutputStream d
Constructor Detail

ClassWriter.ClassOutputStream

public ClassWriter.ClassOutputStream()
Method Detail

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)