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

Quick Search    Search Deep

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

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.ByteArrayOutputStream
          extended bycom.mysql.jdbc.WatchableOutputStream

class WatchableOutputStream
extends java.io.ByteArrayOutputStream

A java.io.OutputStream used to write ASCII data into Blobs and Clobs


Field Summary
private  OutputStreamWatcher watcher
           
 
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
 
Constructor Summary
(package private) WatchableOutputStream()
           
 
Method Summary
 void close()
          This method closes the stream.
 void setWatcher(OutputStreamWatcher watcher)
          DOCUMENT ME!
 
Methods inherited from class java.io.ByteArrayOutputStream
reset, size, toByteArray, toString, toString, toString, write, write, writeTo
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

watcher

private OutputStreamWatcher watcher
Constructor Detail

WatchableOutputStream

WatchableOutputStream()
Method Detail

setWatcher

public void setWatcher(OutputStreamWatcher watcher)
DOCUMENT ME!


close

public void close()
           throws java.io.IOException
Description copied from class: java.io.OutputStream
This method closes the stream. Any internal or native resources associated with this stream are freed. Any subsequent attempt to access the stream might throw an exception.

This method in this class does nothing.