Class ConstantUtf8


  • public final class ConstantUtf8
    extends Constant
    Extends the abstract Constant to represent a reference to a UTF-8 encoded string.
    See Also:
    Constant
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBytes()
      Returns the UTF-8 string value stored in this constant pool entry.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getBytes

        public java.lang.String getBytes()
        Returns the UTF-8 string value stored in this constant pool entry.
        Returns:
        the string value