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