org.jikesrvm.classloader
Class UTF8Convert.ByteBufferStringEncoderVisitor

java.lang.Object
  extended by org.jikesrvm.classloader.UTF8Convert.UTF8CharacterVisitor
      extended by org.jikesrvm.classloader.UTF8Convert.ByteBufferStringEncoderVisitor
Enclosing class:
UTF8Convert

private static final class UTF8Convert.ByteBufferStringEncoderVisitor
extends UTF8Convert.UTF8CharacterVisitor

Visitor that builds up a char[] as characters are decoded


Field Summary
(package private)  int index
           
(package private)  char[] result
           
 
Constructor Summary
UTF8Convert.ByteBufferStringEncoderVisitor(int length)
           
 
Method Summary
 String toString()
           
(package private)  void visit_char(char c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

result

final char[] result

index

int index
Constructor Detail

UTF8Convert.ByteBufferStringEncoderVisitor

UTF8Convert.ByteBufferStringEncoderVisitor(int length)
Method Detail

visit_char

void visit_char(char c)
Specified by:
visit_char in class UTF8Convert.UTF8CharacterVisitor

toString

public String toString()
Overrides:
toString in class Object