All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.wizards.builder.compiler.attribute_info
java.lang.Object
|
+----com.sun.wizards.builder.compiler.attribute_info
- public class attribute_info
- extends Object
attribute_info is a class that represents an attribute
associated with a field, a method or a class.
This class has the ability to read its information from
a class file and write its information to a class file.
The information used to write this class was obtained from
the book "The Java Virtual Machine Specification", pages
84 - 118.
Note: The use of all lower-case variable names with
underscores is done to show an exact translation
from the Virtual Machine Specification.
-
attribute_info(DataInput)
- Create a new attribute_info object from the specified
input stream.
-
attribute_info(short, byte[])
- Create a new attribute_info object from the specified
constant pool index and data.
-
read(DataInput)
- Read the attribute_info object from the specified input stream.
-
write(DataOutput)
- Write this attribute_info object to the specified output
stream.
attribute_info
public attribute_info(DataInput in)
- Create a new attribute_info object from the specified
input stream.
- Parameters:
- in - The input stream containing the attribute
information.
attribute_info
public attribute_info(short attribute_name_index,
byte attributeInfo[])
- Create a new attribute_info object from the specified
constant pool index and data.
- Parameters:
- attribute_name_index - The index into the constant pool
representing the name of the new
attribute.
- attributeInfo - The data comprising the contents
of the new attribute.
read
public void read(DataInput in)
- Read the attribute_info object from the specified input stream.
- Parameters:
- in - The input stream containing initialization data for
this attribute_info object.
write
public void write(DataOutput out)
- Write this attribute_info object to the specified output
stream.
- Parameters:
- out - The output stream on which this attribute_info
object should be written.
All Packages Class Hierarchy This Package Previous Next Index