xsul.util
Class Utf8Reader

java.lang.Object
  extended byjava.io.Reader
      extended byxsul.util.Utf8Reader

public class Utf8Reader
extends java.io.Reader

Very simpple UTF8 reader from byte input stream.

Version:
$Revision: 1.3 $
Author:
Aleksander Slominski

Constructor Summary
Utf8Reader(java.io.InputStream source)
           
Utf8Reader(java.io.InputStream source, int bufferSize)
           
 
Method Summary
 void close()
           
 int read(char[] cbuf, int off, int len)
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utf8Reader

public Utf8Reader(java.io.InputStream source)

Utf8Reader

public Utf8Reader(java.io.InputStream source,
                  int bufferSize)
Method Detail

read

public int read(char[] cbuf,
                int off,
                int len)
         throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException


IU Extreme! Lab (http://www.extreme.indiana.edu)