Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.optional.depend.constantpool

public Class Utf8CPInfo

extends ConstantPoolEntry
Class Inheritance
Imports
java.io.DataInputStream, .IOException

A UTF8 Constant Pool Entry.

Field Summary

Modifier and TypeField and Description
private String
value

The String value of the UTF-8 entry

Inherited from org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry:
CONSTANT_CLASSCONSTANT_DOUBLECONSTANT_FIELDREFCONSTANT_FLOATCONSTANT_INTEGERCONSTANT_INTERFACEMETHODREFCONSTANT_INVOKEDYNAMICCONSTANT_LONGCONSTANT_METHODHANDLECONSTANT_METHODREFCONSTANT_METHODTYPECONSTANT_MODULEINFOCONSTANT_NAMEANDTYPECONSTANT_PACKAGEINFOCONSTANT_STRINGCONSTANT_UTF8

Constructor Summary

AccessConstructor and Description
public
Utf8CPInfo()

Constructor.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the UTF-8 value as a Java string
getValue
()

Get the string value of the UTF-8 entry

public void
read(DataInputStream
the DataInputStream which contains the constant pool entry to be read.
cpStream
)

Implements abstract org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.read.

read a constant pool entry from a class stream.
public String

Returns:

the string representation of this constant pool entry.
toString
()

Overrides java.lang.Object.toString.

Print a readable version of the constant pool entry.
Inherited from org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry:
getNumEntriesgetTagisResolvedreadEntryresolve

Field Detail

valueback to summary
private String value

The String value of the UTF-8 entry

Constructor Detail

Utf8CPInfoback to summary
public Utf8CPInfo()

Constructor.

Method Detail

getValueback to summary
public String getValue()

Get the string value of the UTF-8 entry

Returns:String

the UTF-8 value as a Java string

readback to summary
public void read(DataInputStream cpStream) throws IOException

Implements abstract org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.read.

read a constant pool entry from a class stream.

Parameters
cpStream:DataInputStream

the DataInputStream which contains the constant pool entry to be read.

Annotations
@Override
Exceptions
IOException:
if there is a problem reading the entry from the stream.
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Print a readable version of the constant pool entry.

Returns:String

the string representation of this constant pool entry.

Annotations
@Override