Java I/O Examples

Filename Purpose
IOstreams Summary of I/O stream constructors
LargestDeluxe Low-level standard input/output example
Console.java
Console.txt
An enhanced Console class
ConsoleTest Test program for Console class
TextOutputTest
(source || data file)
Writer classes
TextInputTest
(source || sample run || data file)
Reader classes
TextIOTest
(source || sample run || data file)
Reader/Writer classes
BufferedTextInputTest
(source || sample run)
Buffered Reader classes
BufferedTextIOTest
(source || sample run || data file)
Buffered Reader/Writer classes
CreateSequentialFile
(source || screen dump)
A byte output stream
ReadSequentialFile
(source || screen dump)
A byte input stream
CreditInquiry
(source || screen dump)
A random access file processed sequentially
Concatenate
(source || sample run)
Example of SequenceInputStream, similar to UNIX 'cat'
FileListEnumerator
(source)
Companion class to Concatenate
FileTest
(source || screen dump 1 || screen dump 2)
Use of File class
ReadStream
(1.0 applet || 1.1 applet || source)
Reading a file on the server
ReadConnection
(1.0 applet || 1.1 applet || source)
Reading a file on the server with URLConnection