Class UdfConsolePrintStream

All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public final class UdfConsolePrintStream extends PrintStream
The PrintStream type UdfConsoleCapture installs over System.out/ System.err — a plain auto-flushing stream whose distinct class lets the capture recognize (via instanceof) whether its wrapper is still installed after a test harness swaps the system streams.
  • Constructor Details