org.apache.tomcat.util.bcel.classfile
Class ConstantUtf8
java.lang.Object
org.apache.tomcat.util.bcel.classfile.Constant
org.apache.tomcat.util.bcel.classfile.ConstantUtf8
- All Implemented Interfaces:
- Serializable, Cloneable
public final class ConstantUtf8
- extends Constant
This class is derived from the abstract
Constant class
and represents a reference to a Utf8 encoded string.
- Version:
- $Id: ConstantUtf8.java 1057670 2011-01-11 14:52:05Z markt $
- Author:
- M. Dahm
- See Also:
Constant
,
Serialized Form
Fields inherited from class org.apache.tomcat.util.bcel.classfile.Constant |
tag |
dump
public final void dump(DataOutputStream file)
throws IOException
- Dump String in Utf8 format to file stream.
- Specified by:
dump
in class Constant
- Parameters:
file
- Output file stream
- Throws:
IOException
getBytes
public final String getBytes()
- Returns:
- Data converted to string.
toString
public final String toString()
- Overrides:
toString
in class Constant
- Returns:
- String representation
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.