Java Streams

From NovaOrdis Knowledge Base
Revision as of 14:37, 28 October 2017 by Ovidiu (talk | contribs) (→‎System.out/System.err/System.in)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Piped Streams

Closing a PipedInputStream does not release a thread blocked on it in reading.


System.out/System.err/System.in

https://docs.oracle.com/javase/8/docs/api/java/lang/System.html#out

To replace the default System.out:

System.setOut(...);