org.apache.tools.ant.taskdefs.optional.depend.constantpool

Class IntegerCPInfo

public class IntegerCPInfo extends ConstantCPInfo

An Integer CP Info
Constructor Summary
IntegerCPInfo()
Constructor.
Method Summary
voidread(DataInputStream cpStream)
read a constant pool entry from a class stream.
StringtoString()
Print a readable version of the constant pool entry.

Constructor Detail

IntegerCPInfo

public IntegerCPInfo()
Constructor.

Method Detail

read

public void read(DataInputStream cpStream)
read a constant pool entry from a class stream.

Parameters: cpStream the DataInputStream which contains the constant pool entry to be read.

Throws: IOException if there is a problem reading the entry from the stream.

toString

public String toString()
Print a readable version of the constant pool entry.

Returns: the string representation of this constant pool entry.