Method setOut(PrintStream out)
Return type: void
Member of:
java.lang.System
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
System.setOut(this);
2
System.setOut(out);
3
System.setOut(getLog());
4
System.setOut(createPrintStream(true));
5
System.setOut(new PrintCatcher(eventType, System.out));
6
System.setOut( new PrintStream(new FileOutputStream(filename )));
7
System.setOut(((PrintCatcher) System.out).getOriginalStream());
8
System.setOut( this.oldOut );
9
System.setOut(new PrintStream(sysOut.toOutputStream(), true));
10
System.setOut(new PrintStream(logFos));
11
System.setOut(output);
12
System.setOut(new PrintStream(new OutputStream(){
13
System.setOut(output);
14
System.setOut(new PrintStream(pout, true));
15
System.setOut(new PrintStream(stdout));
16
System.setOut(out);
17
System.setOut(new PrintStream(new DemuxOutputStream(getCurrentProject(), false)));
18
System.setOut(new PrintStream(new ConsoleOutStream(logWindow), true));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.