public class AttributeFactory extends Object
| Constructor and Description |
|---|
AttributeFactory() |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
readAttribute(InputStream stream,
ConstantPool pool)
Reads an attribute from the given InputStream.
|
public Attribute readAttribute(InputStream stream, ConstantPool pool) throws IOException
stream - This InputStream must be open on a valid class file,
and must be positioned directly at an Attribute.pool - The ConstantPool for the class file to which this Attribute
belongs.
(See the JVM specification for more details about Attributes).IOException - if an error occurs while reading from the streamCopyright © 2012. All Rights Reserved.