Basic HTML version of Foils prepared Sept 21 1998

Foil 31 The Output Stream Zoo

From Java Tutorial 98- 4: Multi-Treading, Useful Java Classes, I/O and Networking NAVO Tutorial -- Sept 23 1998. by Geoffrey C. Fox, Nancy McCracken

OutputStream classes for Foil 31
1 The subclasses of OutputStream are analogous to those of InputStream.
  • For example, to open a byte stream to an output file, use:
  • FileOutputStream s = new FileOutputStream("/usr/gcf/file");
2 OutputStream
3 ByteArray
4 OutputStream
5 FileOutput
6 Stream
7 FilterOutput
8 Stream
9 PipedOutput
10 Stream
11 Buffered
12 OutputStream
13 PrintStream
14 DataOutput
15 Stream

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998