Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mysql.jdbc
Class WatchableWriter  view WatchableWriter download WatchableWriter.java

java.lang.Object
  extended byjava.io.Writer
      extended byjava.io.CharArrayWriter
          extended bycom.mysql.jdbc.WatchableWriter

class WatchableWriter
extends java.io.CharArrayWriter

A java.io.Writer used to write unicode data into Blobs and Clobs


Field Summary
private  WriterWatcher watcher
           
 
Fields inherited from class java.io.CharArrayWriter
buf, count
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
(package private) WatchableWriter()
           
 
Method Summary
 void close()
          Closes the stream.
 void setWatcher(WriterWatcher watcher)
          DOCUMENT ME!
 
Methods inherited from class java.io.CharArrayWriter
append, append, append, flush, reset, size, toCharArray, toString, write, write, write, writeTo
 
Methods inherited from class java.io.Writer
write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

watcher

private WriterWatcher watcher
Constructor Detail

WatchableWriter

WatchableWriter()
Method Detail

setWatcher

public void setWatcher(WriterWatcher watcher)
DOCUMENT ME!


close

public void close()
Description copied from class: java.io.CharArrayWriter
Closes the stream. This method is guaranteed not to free the contents of the internal buffer, which can still be retrieved.