All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class futils.utils.AttributeInfo

java.lang.Object
   |
   +----futils.utils.AttributeInfo

public class AttributeInfo
extends java.lang.Object
This class defines the generic Attribute type for Java class files. It is a little bit smart in that for some Attributes it can display them intelligently if it also has access to the constant pool of the current class.

Version:
1.4, 16 Aug 1995
Author:
Chuck McManis
See Also:
ClassFile

Variable Index

 o data
 o name

Constructor Index

 o AttributeInfo()
 o AttributeInfo(ConstantPoolInfo, byte[])

Method Index

 o indexFromBytes(byte[])
 o read(DataInputStream, ConstantPoolInfo[])
 o toBoolean(ConstantPoolInfo[])
 o toString()
 o toString(ConstantPoolInfo[])
 o write(DataOutputStream, ConstantPoolInfo[])

Variables

 o name
 futils.utils.ConstantPoolInfo name
 o data
 byte data[]

Constructors

 o AttributeInfo
 public AttributeInfo(futils.utils.ConstantPoolInfo newName,
                      byte newData[])
 o AttributeInfo
 public AttributeInfo()

Methods

 o read
 public boolean read(java.io.DataInputStream di,
                     futils.utils.ConstantPoolInfo pool[]) throws java.io.IOException
 o write
 public void write(java.io.DataOutputStream dos,
                   futils.utils.ConstantPoolInfo pool[]) throws java.io.IOException, java.lang.Exception
 o indexFromBytes
 short indexFromBytes(byte a[])
 o toString
 public java.lang.String toString(futils.utils.ConstantPoolInfo pool[])
 o toBoolean
 public java.lang.String toBoolean(futils.utils.ConstantPoolInfo pool[])
 o toString
 public java.lang.String toString()
Overrides:
toString in class java.lang.Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index