From: ###@###.###
To: ###@###.###
Subject: In, Out & Err
Date: Tue, 9 Feb 1999 09:12:34 -0000
In java.lang.System there are three standard streams; in, out and err.
Along with these are three methods to allow the user to set a new stream,
these are; setIn(), setOut(), setErr().
It seems strange that there are not complimentary getIn(), getOut(), and
getErr() methods to return the current streams so that these streams can be
reset to their original reference once tasks have been completed.
To: ###@###.###
Subject: In, Out & Err
Date: Tue, 9 Feb 1999 09:12:34 -0000
In java.lang.System there are three standard streams; in, out and err.
Along with these are three methods to allow the user to set a new stream,
these are; setIn(), setOut(), setErr().
It seems strange that there are not complimentary getIn(), getOut(), and
getErr() methods to return the current streams so that these streams can be
reset to their original reference once tasks have been completed.
- duplicates
-
JDK-4274770 FileDescriptor.dup() to restore io, out, and err streams
-
- Closed
-