|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
fr.umlv.corosol.classfile.io.impl.JClassFileInputStream
public class JClassFileInputStream
The default implementation of the fr.umlv.corosol.classfile.JClassFileInput interface.
| Constructor Summary | |
|---|---|
JClassFileInputStream(java.io.InputStream in)
Creates a new class file input stream. |
|
| Method Summary | |
|---|---|
JConstantPool |
getConstantPool()
Returns the constant pool created by this classfile reader. |
JAttribute |
readAttribute()
Reads an attributes from the classfile. |
JClassFileItem |
readClassFileItem(java.lang.Class type)
Reads the class file item specified by its type. |
JClassMember |
readClassMember()
Reads a class member description from the classfile. |
JConstant |
readConstant()
Reads a constant pool entry from the classfile. |
JConstantPool |
readConstantPool()
Reads the constant pool from the classfile. |
| Methods inherited from class java.io.DataInputStream |
|---|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes |
| Methods inherited from class java.io.FilterInputStream |
|---|
available, close, mark, markSupported, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.io.DataInput |
|---|
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
| Constructor Detail |
|---|
public JClassFileInputStream(java.io.InputStream in)
| Method Detail |
|---|
public JConstant readConstant()
throws java.io.IOException
readConstant in interface JClassFileInputjava.io.IOException - if an I/O error occurs when
reading this constant pool entry
public JConstantPool readConstantPool()
throws java.io.IOException
readConstantPool in interface JClassFileInputjava.io.IOException - if an I/O error occurs when
reading the constant pool
public JAttribute readAttribute()
throws java.io.IOException
readAttribute in interface JClassFileInputjava.io.IOException - if an I/O error occurs when
reading this attribute
public JClassMember readClassMember()
throws java.io.IOException
readClassMember in interface JClassFileInputjava.io.IOException - if an I/O error occurs when
reading this class member description
public JClassFileItem readClassFileItem(java.lang.Class type)
throws java.io.IOException
readClassFileItem in interface JClassFileInputtype - the type of a class file item to be readed from
the classfile
java.io.IOException - if an I/O error occurs when
reading this classfile itempublic JConstantPool getConstantPool()
getConstantPool in interface JClassFileInput
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||