jconst
Class constUtf8

java.lang.Object
  |
  +--util.dataRead
        |
        +--jconst.constBase
              |
              +--jconst.constUtf8

public class constUtf8
extends constBase


Field Summary
private  java.lang.String str
           
 
Fields inherited from class jconst.constBase
tag
 
Fields inherited from class util.dataRead
bytesRead
 
Constructor Summary
constUtf8()
           
 
Method Summary
 java.lang.String getPrintableString()
          Return a printable version of the Utf8 string.
 java.lang.String getString()
          Return the raw Utf8 string, without any translation.
 void pr_data()
           
 void pr()
          Print a Utf8 String in ASCII format.
 void read(java.io.DataInputStream dStream)
           
 java.lang.String toAsciiString()
          Return the Utf8 string in ASCII format.
 
Methods inherited from class jconst.constBase
prString, set_ref, Tag_to_String
 
Methods inherited from class util.dataRead
getBytesRead, readU1, readU2, readU4
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

str

private java.lang.String str
Constructor Detail

constUtf8

public constUtf8()
Method Detail

read

public void read(java.io.DataInputStream dStream)
Overrides:
read in class constBase

toAsciiString

public java.lang.String toAsciiString()
Return the Utf8 string in ASCII format. Any characters which are outside the ASCII printable range are represented as either back-slash escapes or as \\uxxxx strings (e.g., hex form of the unicode character.

pr

public void pr()
Print a Utf8 String in ASCII format. Characters which are outside the ASCII range are printed as hex values in \\uxxxx format.
Overrides:
pr in class constBase

pr_data

public void pr_data()

getString

public java.lang.String getString()
Return the raw Utf8 string, without any translation.
Overrides:
getString in class constBase

getPrintableString

public java.lang.String getPrintableString()
Return a printable version of the Utf8 string.