The Input Stream Zoo
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");