Package io.deephaven.base.system
Interface StandardStreamReceiver
- All Known Implementing Classes:
StreamToLogBuffer
,StreamToPrintStreams
public interface StandardStreamReceiver
Allows classes to register interest in receiving application level calls to
System.out
and
System.err
.-
Method Summary
Modifier and TypeMethodDescriptionRegisters interest inSystem.err
.Registers interest inSystem.out
.
-
Method Details
-
receiveOut
Optional<OutputStream> receiveOut()Registers interest inSystem.out
.- Returns:
- if present, represents interest in receiving
System.out
calls.
-
receiveErr
Optional<OutputStream> receiveErr()Registers interest inSystem.err
.- Returns:
- if present, represents interest in receiving
System.err
calls.
-