| Constructor and Description |
|---|
DeprecatedAttribute(InputStream stream,
int nameIndex,
ConstantPool pool)
Creates a new DeprecatedAttribute.
|
public DeprecatedAttribute(InputStream stream, int nameIndex, ConstantPool pool) throws IOException
stream - the stream to read fromnameIndex - the attribute index in the constant poolpool - the constant pool to read fromIOException - if an I/O error occurs while reading the attributepublic String getName()
public int getLength()
public void write(DataOutputStream output) throws IOException
Attributewrite in interface Attributeoutput - the stream to write toIOException - if an I/O error occurs while writing to the streamCopyright © 2012. All Rights Reserved.