|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.rse.services.clientserver.java.ClassFileUTF8Reader
This singleton class converts an array of unsigned bytes (represented by shorts) to UTF-8 strings as per the UTF-8 format that the JVM uses. Note that the JVM's version of UTF8 is different to the standard UTF-8 format.
| Method Summary | |
|---|---|
static ClassFileUTF8Reader |
getInstance()
Returns the singleton instance of the reader. |
String |
getString(short[] bytes)
Returns a string given an unsigned array of bytes (represented as an array of shorts). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final ClassFileUTF8Reader getInstance()
public String getString(short[] bytes)
bytes - the bytes.
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||