futils.utils
Class 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AttributeInfo
public AttributeInfo()
AttributeInfo
public AttributeInfo(ConstantPoolInfo newName,
byte[] newData)
read
public boolean read(java.io.DataInputStream di,
ConstantPoolInfo[] pool)
throws java.io.IOException
toBoolean
public java.lang.String toBoolean(ConstantPoolInfo[] pool)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toString
public java.lang.String toString(ConstantPoolInfo[] pool)
write
public void write(java.io.DataOutputStream dos,
ConstantPoolInfo[] pool)
throws java.io.IOException,
java.lang.Exception