@Deprecated public interface AttributeReader
Attribute
Modifier and Type | Method and Description |
---|---|
Attribute |
createAttribute(int nameIndex,
int length,
DataInputStream file,
ConstantPool constantPool)
Deprecated.
When this attribute reader is added via the static method Attribute.addAttributeReader, an attribute name is
associated with it.
|
Attribute createAttribute(int nameIndex, int length, DataInputStream file, ConstantPool constantPool)
nameIndex
- An index into the constant pool, indexing a ConstantUtf8 that represents the name of the attribute.length
- The length of the data contained in the attribute. This is written into the constant pool and should
agree with what the factory expects the length to be.file
- This is the data input stream that the factory needs to read its data from.constantPool
- This is the constant pool associated with the Attribute that we are constructing.Attribute.addAttributeReader( String, AttributeReader )
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.