![]() ![]() ![]() |
Input and Output Streams |
Input and Output StreamsMost programmers using JDK 1.1 should use the new character-stream classes for doing I/O. See 1.1 Changes: java.io Package.Your First Encounter with I/O in JavaIn JDK 1.1, textual program output should be written by a PrintWriter. See 1.1 Changes: Textual Program Output.Overview of Input and Output StreamsClasses were added to theUsing Input and Output Streamsjava.io
package to support reading and writing 16-bit Unicode characters. See 1.1 Changes: java.io Package.Most JDK 1.1 programmers should use the new character-stream classes. See 1.1 Changes: New Classes.Using Streams to Implement PipesMost JDK 1.1 programmers should use the newUsing Streams to Read and Write FilesPipedReader
andPipedWriter
classes. See 1.1 Changes: Pipes.Most JDK 1.1 programmers should use the newUsing Streams to Read and Write Memory LocationsFileReader
andFileWriter
classes. See 1.1 Changes: File I/O.Most JDK 1.1 programmers should use the new character-stream classes. See 1.1 Changes: Memory I/O.Using Streams to Concatenate FilesJDK 1.1 does not provide a character-stream alternative to theWorking with Filtered StreamsSequenceInputStream
byte-stream.Most JDK 1.1 programmers should use the new character-stream classes. See 1.1 Changes: Filtered Streams.Using DataInputStream and DataOutputStreamTheWriting Your Own Filtered StreamsDataInputStream.readLine
has been deprecated. See 1.1 Changes: Data I/O.Because the CheckSum example uses bytes, it should not be modified to use the new character-stream classes.Writing Filters for Random Access FilesBecause the CheckSum example uses bytes, it should not be modified to use the new character-stream classes.
![]() ![]() ![]() |
Input and Output Streams |