Package classycle.classfile
Class UTF8Constant
- java.lang.Object
-
- classycle.classfile.Constant
-
- classycle.classfile.UTF8Constant
-
public class UTF8Constant extends Constant
Constant of an arbitrary Unicode string.- Author:
- Franz-Josef Elmer
-
-
Constructor Summary
Constructors Constructor Description UTF8Constant(Constant[] pool, java.lang.String string)
Creates an instance for the specified string.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getString()
Returns the wrapped string.java.lang.String
toString()
Returns the constant type and the wrapped string.-
Methods inherited from class classycle.classfile.Constant
extractConstantPool, getConstant
-
-
-
-
Constructor Detail
-
UTF8Constant
public UTF8Constant(Constant[] pool, java.lang.String string)
Creates an instance for the specified string.- Parameters:
pool
- Constant pool.string
- wrapped string.
-
-