CSCI A202 - Introduction to Programming (II)

Lecture 19: File I/O: The Application Programmer's Interface (API)

Essential references:

The links below are into Sun's site.

Purpose Input Output
Connection java.io.FileInputStream java.io.FileOutputStream
Text Files java.io.InputStreamReader
java.io.BufferedReader
java.io.StreamTokenizer
java.io.PrintWriter
Data Files java.io.DataInputStream java.io.DataOutputStream
Object Files java.io.ObjectOutputStream java.io.ObjectOutputStream