xsul.util
Class Utf8Writer

java.lang.Object
  extended byjava.io.Writer
      extended byxsul.util.Utf8Writer

public class Utf8Writer
extends java.io.Writer

Very simpple UTF8 writer to byte output stream.

Version:
$Revision: 1.2 $
Author:
Aleksander Slominski

Constructor Summary
Utf8Writer(java.io.OutputStream sink)
           
Utf8Writer(java.io.OutputStream sink, int bufferSize)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(char[] cbuf, int off, int len)
           
 
Methods inherited from class java.io.Writer
write, write, write, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utf8Writer

public Utf8Writer(java.io.OutputStream sink)

Utf8Writer

public Utf8Writer(java.io.OutputStream sink,
                  int bufferSize)
Method Detail

close

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

write

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

flush

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


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