org.apache.bcel.classfile
public final class ConstantUtf8 extends Constant
Version: $Id: ConstantUtf8.java 386056 2006-03-15 11:31:56Z tcurdt $
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 the raw bytes of this Utf-8
Returns: String representation