gate.gui
Class LogArea.UTF8PrintWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.PrintWriter
          extended by gate.gui.LogArea.UTF8PrintWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable
Enclosing class:
LogArea

public static class LogArea.UTF8PrintWriter
extends PrintWriter

A print writer that uses UTF-8 to convert from char[] to byte[]


Field Summary
 
Fields inherited from class java.io.PrintWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
LogArea.UTF8PrintWriter(OutputStream out)
           
LogArea.UTF8PrintWriter(OutputStream out, boolean autoFlush)
           
 
Method Summary
 
Methods inherited from class java.io.PrintWriter
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogArea.UTF8PrintWriter

public LogArea.UTF8PrintWriter(OutputStream out)
                        throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

LogArea.UTF8PrintWriter

public LogArea.UTF8PrintWriter(OutputStream out,
                               boolean autoFlush)
                        throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException