public class SignatureAttributeReader extends Object implements AttributeReader
| Constructor and Description |
|---|
SignatureAttributeReader() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the attribute name.
|
Attribute |
readAttribute(InputStream input,
int nameIndex,
ConstantPool pool)
Reads a SignatureAttribute from a class file InputStream.
|
public Attribute readAttribute(InputStream input, int nameIndex, ConstantPool pool) throws IOException
readAttribute in interface AttributeReaderinput - 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 attributepublic String getName()
AttributeReadergetName in interface AttributeReaderCopyright © 2012. All Rights Reserved.