FileDocCategorySizeDatePackage
LongCPInfo.javaAPI DocApache Ant 1.701776Wed Dec 13 06:16:18 GMT 2006org.apache.tools.ant.taskdefs.optional.depend.constantpool

LongCPInfo

public class LongCPInfo extends ConstantCPInfo
A Long CP Info

Fields Summary
Constructors Summary
public LongCPInfo()
Constructor.

        super(CONSTANT_LONG, 2);
    
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 Long(cpStream.readLong()));
    
public java.lang.StringtoString()
Print a readable version of the constant pool entry.

return
the string representation of this constant pool entry.

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