java.io package -Jonathan Knudsen, Patrick Niemeyer
Input/Output Facilities : The class hierarchy of the java.io package. these classes are all subclasses of the basic InputStream , OutputStream , Reader , and Writer classes All fundamental I/O in Java is based on streams . A stream represents a flow of data, or a channel of communication with (at least conceptually) a writer at one end and a reader at the other. When you are working with terminal input and output, reading or writing files, or communicating through sockets in Java, you are using a stream of one type or another. So that you can see the forest without being distracted by the trees, we’ll start by summarizing the classes involved with the different types of streams: InputStream/OutputStream Abstract classes that define the basic functionality for reading or writing an unstructured sequence of bytes. All other byte streams in Java are built on top of the basic InputSt...