com.caucho.util
Class Utf8

java.lang.Object
  extended by com.caucho.util.Utf8

public final class Utf8
extends java.lang.Object

Utf8 decoding.


Constructor Summary
Utf8()
           
 
Method Summary
static int read(java.io.InputStream is)
           
static void write(java.io.OutputStream os, char ch)
           
static void write(java.io.OutputStream os, java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utf8

public Utf8()
Method Detail

write

public static void write(java.io.OutputStream os,
                         char ch)
                  throws java.io.IOException
Throws:
java.io.IOException

write

public static void write(java.io.OutputStream os,
                         java.lang.String s)
                  throws java.io.IOException
Throws:
java.io.IOException

read

public static int read(java.io.InputStream is)
                throws java.io.IOException
Throws:
java.io.IOException