java.io.Serializable
, java.lang.Cloneable
, Node
public final class ConstantUtf8 extends Constant
Constant
,
Serialized FormConstructor | Description |
---|---|
ConstantUtf8(java.lang.String bytes) |
|
ConstantUtf8(ConstantUtf8 c) |
Initialize from another object.
|
Modifier and Type | Method | Description |
---|---|---|
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(java.io.DataOutputStream file) |
Dump String in Utf8 format to file stream.
|
java.lang.String |
getBytes() |
|
void |
setBytes(java.lang.String bytes) |
|
java.lang.String |
toString() |
clone, copy, equals, getComparator, getTag, hashCode, setComparator
public ConstantUtf8(ConstantUtf8 c)
public ConstantUtf8(java.lang.String bytes)
bytes
- Datapublic void accept(Visitor v)
public final void dump(java.io.DataOutputStream file) throws java.io.IOException
public final java.lang.String getBytes()
public final void setBytes(java.lang.String bytes)
bytes
- the raw bytes of this Utf-8