Class UTF8Writer

java.lang.Object
java.io.Writer
com.ctc.wstx.io.UTF8Writer
All Implemented Interfaces:
CompletelyCloseable, Closeable, Flushable, Appendable, AutoCloseable

public final class UTF8Writer extends Writer implements CompletelyCloseable
Specialized buffering UTF-8 writer used by XmlWriter. The main reason for custom version is to allow for efficient buffer recycling; the second benefit is that encoder has less overhead for short content encoding (compared to JDK default codecs).