Writer

Writer Writer is an abstract class that defines streaming character output. AIl of the methods in this class return a void value and throw an IOException in the case of-errors. Table 17-4 shows a synopsis of the methods in Writer. FileReader FileReader class creates a...

RandomAccessFile

RandomAccessFile RandomAccessFile encapsulates a random-access file..It is not derived from Inputstream or OutputStream. Instead, it implements the interfaces Datainput and DataOutput, which define the basic I/O methods. It also supports positioning requests-that is,...

SequenceinputStream

SequenceinputStream The  SequeNce inputStream class allows  to concatenate multiple Input Streams. The construction of.a SequenceinputStream is different from any. other InputStream. A Sequence inputStream COnstructor uses either a pair of InputStream spr an...

BufferedOutputStream

BufferedOutputStream  added flush( ) method that is used to ensure that data buffers are physically written to \ the actual output device. Since the point of a BufferedOutputStream is to improve performance' by reducing the number of times the system actually writes...

BufferedinputStream

BufferedinputStream Buffering I/O is  very common performance optimization. Java's BufferedinputStream class allows you to "wrap" any InputStream into a buffered stream and achieve this performance improvement. BufferedinputStream has ?,O constructors:...

Filtered Byte Streams

Filtered Byte Streams Filtered streams are simply wrappers around underlying input or output streams that, transparently provide some extended level of functionality. These streams are typically accessed by methods that are expecting a generic stream, which is a...