Class TeeWriter

java.lang.Object
java.io.Writer
io.github.ascopes.jct.diagnostics.TeeWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

@API(since="0.0.1", status=STABLE) public final class TeeWriter extends Writer
A writer that wraps an output stream and also writes any content to an in-memory buffer.

This is thread-safe.

Since:
0.0.1
Author:
Ashley Scopes