|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JClassFileItem
A JClassClassItem object represents a part of a classfile. The method readItem is designed to extract all data of this classfile part.
| Method Summary | |
|---|---|
JConstantPool |
getConstantPool()
Returns the constant pool of this classfile item. |
void |
readItem(JClassFileInput in)
Extracts the data of this classfile item via the specified input stream. |
void |
setConstantPool(JConstantPool constantPool)
Sets the constant pool of this classfile item. |
void |
writeItem(JClassFileOutput out)
Writes the data of this classfile part into a file via the specified output stream. |
| Method Detail |
|---|
JConstantPool getConstantPool()
void setConstantPool(JConstantPool constantPool)
constantPool - the constant Pool
void readItem(JClassFileInput in)
throws java.io.IOException
in - a class file input stream
java.io.IOException - if an I/O error occurs when
reading this classfile item datas
void writeItem(JClassFileOutput out)
throws java.io.IOException
out - a class file output stream
java.io.IOException - if an I/O error occurs when
writing into the classfile
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||