com.sun.tools.classfile
Class ClassReader
java.lang.Object
com.sun.tools.classfile.ClassReader
public class ClassReader
- extends java.lang.Object
This is NOT part of any API supported by Sun Microsystems. If
you write code that depends on this, you do so at your own risk.
This code and its internal interfaces are subject to change or
deletion without notice.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
in
private java.io.DataInputStream in
classFile
private ClassFile classFile
attributeFactory
private Attribute.Factory attributeFactory
ClassReader
ClassReader(ClassFile classFile,
java.io.InputStream in,
Attribute.Factory attributeFactory)
throws java.io.IOException
- Throws:
java.io.IOException
getClassFile
ClassFile getClassFile()
getConstantPool
ConstantPool getConstantPool()
readAttribute
public Attribute readAttribute()
throws java.io.IOException
- Throws:
java.io.IOException
readFully
public void readFully(byte[] b)
throws java.io.IOException
- Throws:
java.io.IOException
readUnsignedByte
public int readUnsignedByte()
throws java.io.IOException
- Throws:
java.io.IOException
readUnsignedShort
public int readUnsignedShort()
throws java.io.IOException
- Throws:
java.io.IOException
readInt
public int readInt()
throws java.io.IOException
- Throws:
java.io.IOException
readLong
public long readLong()
throws java.io.IOException
- Throws:
java.io.IOException
readFloat
public float readFloat()
throws java.io.IOException
- Throws:
java.io.IOException
readDouble
public double readDouble()
throws java.io.IOException
- Throws:
java.io.IOException
readUTF
public java.lang.String readUTF()
throws java.io.IOException
- Throws:
java.io.IOException