Constructor PrintStream(OutputStream out, boolean autoFlush)
Member of:
java.io.PrintStream
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
stream = new PrintStream(fw, P6SpyOptions.getAutoflush());
2
System.setErr(new PrintStream(new FileOutputStream(photoorganizer.PhotoOrganizer.PROGRAMNAME+".log"), true));
3
this.out = new PrintStream(output, true);
4
this.err = new PrintStream(err, true);
5
PrintStream out = new PrintStream(fout, true);
6
return new PrintStream(cas, true);
7
PrintStream out = new PrintStream(new BufferedOutputStream(ClientSocket.getOutputStream()),false);
8
PrintStream prt = new PrintStream(fout,true);
9
ex.printStackTrace (new java.io.PrintStream (s, true));
10
PrintStream output = new PrintStream(new DumpStream(), true);
11
System.setOut(new PrintStream(pout, true));
12
System.setOut(new PrintStream(new ConsoleOutStream(logWindow), true));
13
System.setErr(new PrintStream(new FileOutputStream(PROGRAMNAME+".log"), true));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.