Objectinput

Objectinput The Object Input interface extends the DataInput interface and, defines the methods shown. It supports object serialization. Note especially the readObject method. This is called to deserialize an object. All of these methods will throw an IOException on...

Serializable

Serializable Only an object that implements the Serializable interface can be saved and restored by the serialization facilities. The Serializable interface defines'no members. It is simply used to indicate that a class may be serialized. If.a class is serializable,...

PrintWriter

PrintWriter PrintWriter is essentially a character-oriented version of PrintStream. It provides the .formatted output methods print( ) and println( ). PrintWriter has four constructors. Iava's PrintWriter objects support the print( ) and println( ) methods for all...

BufferedWriter

BufferedWriter A BufferedWriter is a Writer that adds a flush( ) method that can be used to ensure that data buffers are physically written to the actual output stream. Using a BuffcredWritcr can increase performance by reducing the number of times data is actually...

CharArrayReader

CharArrayReader CharArrayWriter is an implementation of an input stream that uses a character array as the source. This class has two constructors, each of which requires a character array to provide the .data source: Here, array is the input source. The second...