org.apache.bcel.classfile
public final class ConstantUtf8 extends Constant
Version: $Id: ConstantUtf8.java 152843 2002-12-08 16:04:38Z mdahm $
See Also: Constant
Constructor Summary | |
---|---|
ConstantUtf8(ConstantUtf8 c)
Initialize from another object. | |
ConstantUtf8(String bytes) |
Method Summary | |
---|---|
void | accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class. |
void | dump(DataOutputStream file)
Dump String in Utf8 format to file stream.
|
String | getBytes() |
void | setBytes(String bytes) |
String | toString() |
Parameters: bytes Data
Parameters: v Visitor object
Parameters: file Output file stream
Throws: IOException
Returns: Data converted to string.
Parameters: bytes.
Returns: String representation