Class TeeWriter
java.lang.Object
java.io.Writer
io.github.ascopes.protobufmavenplugin.utils.TeeWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
A writer that also writes to an in-memory buffer to enable the content to be replayed.
- Since:
- 2.7.2
- Author:
- Ashley Scopes
-
Constructor Details
-
TeeWriter
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
toString
-
write
- Specified by:
write
in classWriter
- Throws:
IOException
-