Top Description Fields Constructors Methods
com.mysql.cj.protocol

public Class WatchableWriter

extends CharArrayWriter
Class Inheritance
Imports
java.io.CharArrayWriter

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

Field Summary

Modifier and TypeField and Description
private WriterWatcher
Inherited from java.io.CharArrayWriter:
bufcount

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
close()

Overrides java.io.CharArrayWriter.close.

Implements java.io.Closeable.close.

Close the stream.

public void
Inherited from java.io.CharArrayWriter:
appendappendappendflushresetsizetoCharArraytoStringwritewritewritewriteTo

Field Detail

watcherback to summary
private WriterWatcher watcher

Constructor Detail

WatchableWriterback to summary
public WatchableWriter()

Method Detail

closeback to summary
public void close()

Overrides java.io.CharArrayWriter.close.

Implements java.io.Closeable.close.

Doc from java.io.CharArrayWriter.close.

Close the stream. This method does not release the buffer, since its contents might still be required.

Note

Invoking this method in this class will have no effect.

Annotations
@Override
See Also
java.io.Writer#close()
setWatcherback to summary
public void setWatcher(WriterWatcher watcher)
Parameters
watcher:WriterWatcher

WriterWatcher