Class StringBuilderWriter

java.lang.Object
java.io.Writer
dev.enola.common.StringBuilderWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public final class StringBuilderWriter extends Writer
Writer implementation that outputs to a StringBuilder.

This is alternative to StringWriter, which internally uses a StringBuffer. This is faster (!) - at the expense of not (!) being concurrency multi thread safe - which often is not required.