public interface AttributeReader
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the attribute name.
|
Attribute |
readAttribute(InputStream input,
int nameIndex,
ConstantPool pool)
Reads an Attribute from the InpuStream.
|
Attribute readAttribute(InputStream input, int nameIndex, ConstantPool pool) throws IOException
input - The InputStream must be pointing to a ClassFile. Specifically the
InputStream must be position directly after the Attribute's name index.nameIndex - The constant pool index of the name for the attribute.pool - The constant pool for this Attribute.IOException - if an I/O error occurs while reading the attributeString getName()
Copyright © 2012. All Rights Reserved.