public class ConstantUTF8 extends Constant
constantPool
Constructor and Description |
---|
ConstantUTF8(Constant[] constantPool,
DataInput inputStream)
constructs a new ConstantUTF8
|
ConstantUTF8(Constant[] constantPool,
String value)
constructs a new ConstantUTF8
|
public ConstantUTF8(Constant[] constantPool, DataInput inputStream) throws IOException
constantPool
- the constantPool it is part ofinputStream
- the inputstream to read fromIOException
- on failurepublic int getTag()
Constant
getTag
in class Constant
Constant.getTag()
public String getValue()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.