public class GenericAttribute extends Attribute
| Constructor | Description |
|---|---|
GenericAttribute(java.io.DataInputStream in,
int nameIndex,
int length) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
clone() |
|
void |
writeData(java.io.DataOutputStream out) |
Write the attribute to a data stream.
|
public GenericAttribute(java.io.DataInputStream in,
int nameIndex,
int length)
throws java.io.IOException
in - The data stream of the class file.nameIndex - The index into the constant pool of the name of the attribute.length - The length of the attribute, excluding the header.java.io.IOException - If an error occurs while reading.