Basic HTML version of Foils prepared Sept 21 1998

Foil 29 The Input 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

InputStream classes for Foil 29
1 The subclasses of InputStream offer additional methods that write a byte stream in a more structured way or provide other functionality.
  • For example, to open a byte stream to an input file, use:
  • FileInputStream s = new FileInputStream("/usr/gcf/file");
2 InputStream
3 FileInput
4 Stream
5 PipedInput
6 Stream
7 FilterInput
8 Stream
9 SequenceInput
10 Stream
11 Buffered
12 InputStream
13 Pushback
14 InputStream
15 DataInput
16 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