Constructor PrintStream(OutputStream out)
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 setPrintStream (new PrintStream(f));
2 PrintStream out = new PrintStream(new FileOutputStream(FileDescriptor.err));
3 errorLog = new PrintStream(new FileOutputStream(new File(svg.getInitParameter("errorLog"))));
4 this(new PrintStream(out));
5 PrintStream out = new PrintStream(new FileOutputStream(FileDescriptor.out));
6 this.out = new PrintStream(out);
7 err = new NbErrorManager(new PrintStream(w));
8 ps = new PrintStream(baos);
9 this.out = new PrintStream(out);
10 this.out = new PrintStream( out );
11 PrintStream out = new PrintStream(new FileOutputStream(f));
12 PrintStream p = new PrintStream (w);
13 System.setOut( new PrintStream(new FileOutputStream(filename )));
14 logStream = new PrintStream (new FileOutputStream(logFileChooser.getSelectedFile()));
15 PrintStream output = new PrintStream (new FileOutputStream(fileName));
16 new PrintStream( output ).write( 0 );
17 PrintStream stream = new PrintStream(
18 PrintStream out = new PrintStream(fb.getOutputStream());
19 web_xml_inner(file, new PrintStream(new FileOutputStream("web.xml")));
20 out = new PrintStream(new FileOutputStream(logFile));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.