WatchableWriter
Date: 2016-03-08

com.mysql.jdbc

## Class WatchableWriter

- java.lang.Object
- - java.io.Writer
  - - java.io.CharArrayWriter
    - - com.mysql.jdbc.WatchableWriter

- All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable

       class WatchableWriter
      extends java.io.CharArrayWriter

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

- - ### Field Summary

    - ### Fields inherited from class java.io.CharArrayWriter

      `buf, count`

    - ### Fields inherited from class java.io.Writer

      `lock`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `WatchableWriter()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `void` | `setWatcher(WriterWatcher watcher)`

    - ### 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`

- - ### Constructor Detail

    - #### WatchableWriter

          WatchableWriter()

  - ### Method Detail

    - #### close

          public void close()

      Specified by:
        `close` in interface `java.io.Closeable`
      Specified by:
        `close` in interface `java.lang.AutoCloseable`
      Overrides:
        `close` in class `java.io.CharArrayWriter`
      See Also:
        `Writer.close()`

    - #### setWatcher

          public void setWatcher(WriterWatcher watcher)

      Parameters:
        `watcher` -