Package io.deephaven.base.system
Class StreamToPrintStreams
java.lang.Object
io.deephaven.base.system.StreamToPrintStreams
- All Implemented Interfaces:
StandardStreamReceiver
An implementation that delegates to
print streams
.-
Constructor Summary
ConstructorDescriptionStreamToPrintStreams
(PrintStream out, PrintStream err) Construct a new instance -
Method Summary
Modifier and TypeMethodDescriptionRegisters interest inSystem.err
.Registers interest inSystem.out
.
-
Constructor Details
-
StreamToPrintStreams
Construct a new instance- Parameters:
out
- optional out streamerr
- optional err stream
-
-
Method Details
-
receiveOut
Description copied from interface:StandardStreamReceiver
Registers interest inSystem.out
.- Specified by:
receiveOut
in interfaceStandardStreamReceiver
- Returns:
- if present, represents interest in receiving
System.out
calls.
-
receiveErr
Description copied from interface:StandardStreamReceiver
Registers interest inSystem.err
.- Specified by:
receiveErr
in interfaceStandardStreamReceiver
- Returns:
- if present, represents interest in receiving
System.err
calls.
-