FileDocCategorySizeDatePackage
IntegerCPInfo.javaAPI DocApache Ant 1.701794Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant.taskdefs.optional.depend.constantpool

IntegerCPInfo

public class IntegerCPInfo extends ConstantCPInfo
An Integer CP Info

Fields Summary
Constructors Summary
public IntegerCPInfo()
Constructor.

        super(CONSTANT_INTEGER, 1);
    
Methods Summary
public voidread(java.io.DataInputStream cpStream)
read a constant pool entry from a class stream.

param
cpStream the DataInputStream which contains the constant pool entry to be read.
exception
IOException if there is a problem reading the entry from the stream.

        setValue(new Integer(cpStream.readInt()));
    
public java.lang.StringtoString()
Print a readable version of the constant pool entry.

return
the string representation of this constant pool entry.

        return "Integer Constant Pool Entry: " + getValue();