Class WatchableOutputStream
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
com.mysql.jdbc.WatchableOutputStream
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
A java.io.OutputStream used to write ASCII data into Blobs and Clobs
-
Field Summary
Fields inherited from class ByteArrayOutputStream
buf, count -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ByteArrayOutputStream
reset, size, toByteArray, toString, toString, toString, toString, write, write, writeBytes, writeToMethods inherited from class OutputStream
flush, nullOutputStream, write
-
Constructor Details
-
WatchableOutputStream
WatchableOutputStream()
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classByteArrayOutputStream- Throws:
IOException- See Also:
-
setWatcher
- Parameters:
watcher-
-