FileDocCategorySizeDatePackage
ConstUtf8.javaAPI DocGlassfish v2 API3029Fri May 04 22:34:28 BST 2007com.sun.jdo.api.persistence.enhancer.classfile

ConstUtf8

public class ConstUtf8 extends ConstBasic
Class representing a utf8 string value in the constant pool

Fields Summary
public static final int
MyTag
private String
stringValue
Constructors Summary
ConstUtf8(String s)

    stringValue = s;
  
Methods Summary
public java.lang.StringasString()
return the value associated with the entry

    return stringValue;
  
voidformatData(java.io.DataOutputStream b)

    b.writeUTF(stringValue);
  
static com.sun.jdo.api.persistence.enhancer.classfile.ConstUtf8read(java.io.DataInputStream input)

    return new ConstUtf8 (input.readUTF());
  
voidresolve(ConstantPool p)

  
public inttag()
The tag of this constant entry


  /* public accessors */

           
       return MyTag; 
public java.lang.StringtoString()
A printable representation

      return "CONSTANTUtf8(" + indexAsString() + "): " + asString();//NOI18N