Category: 09. Java.io package

  • ObjectStreamClass 

    Introduction The Java.io.ObjectStreamClass class is Serialization’s descriptor for classes. It contains the name and serialVersionUID of the class. The ObjectStreamClass for a specific class loaded in this Java VM can be found/created using the lookup method. Class declaration Following is the declaration for Java.io.ObjectStreamClass class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified…

  • ObjectOutputStream.PutField

    Introduction The Java.io.ObjectOutputStream.PutField class provide programmatic access to the persistent fields to be written to ObjectOutput. Class declaration Following is the declaration for Java.io.ObjectOutputStream.PutField class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Class constructors Sr.No. Constructor & Description 1 ObjectOutputStream.PutField()Single Constructor Class methods Sr.No. Method & Description…

  • ObjectOutputStream 

    Introduction The Java.io.ObjectOutputStream class writes primitive data types and graphs of Java objects to an OutputStream.The objects can be read (reconstituted) using an ObjectInputStream. Class declaration Following is the declaration for Java.io.ObjectOutputStream class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Class constructors Sr.No. Constructor & Description 1…

  • ObjectInputStream.GetField

    Introduction The Java.io.ObjectInputStream.GetField class provide access to the persistent fields read from the input stream. Class declaration Following is the declaration for Java.io.ObjectInputStream.GetField class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Class constructors Sr.No. Constructor & Description 1 ObjectInputStream.GetField()Single Constructor Class methods Sr.No. Method & Description 1…

  • ObjectInputStream 

    Introduction The Java.io.ObjectInputStream class deserializes primitive data and objects previously written using an ObjectOutputStream. Following are the important points about BufferedInputStream − Class declaration Following is the declaration for Java.io.ObjectInputStream class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Class constructors Sr.No. Constructor & Description 1 protected ObjectInputStream()This…

  • LineNumberReader 

    Introduction The Java.io.LineNumberReader class is a buffered character-input stream that keeps track of line numbers.A line is considered to be terminated by any one of a line feed (‘\n’), a carriage return (‘\r’), or a carriage return followed immediately by a linefeed. Class declaration Following is the declaration for Java.io.LineNumberReader class − Learn Java in-depth with real-world projects through our Java certification…

  • LineNumberInputStream 

    Introduction The Java.io.LineNumberInputStream class is an input stream filter that provides the added functionality of keeping track of the current line number. A line is a sequence of bytes ending with a carriage return character (‘\r’), a newline character (‘\n’), or a carriage return character followed immediately by a linefeed character. Class declaration Following is the declaration…

  • InputStreamReader 

    Introduction The Java.io.InputStreamReader class is a bridge from byte streams to character streams.It reads bytes and decodes them into characters using a specified charset. Class declaration Following is the declaration for Java.io.InputStreamReader class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Field Following are the fields for Java.io.InputStreamReader class −…

  • InputStream 

    Introduction The Java.io.InputStream class is the superclass of all classes representing an input stream of bytes. Applications that need to define a subclass of InputStream must always provide a method that returns the next byte of input. Class declaration Following is the declaration for Java.io.InputStream class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a…

  • FilterWriter 

    Introduction The Java.io.FilterWriter class is for writing filtered character streams. Following are the important points about FilterWriter − Class declaration Following is the declaration for Java.io.FilterWriter class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Field Following are the fields for Java.io.FilterWriter class − Class constructors Sr.No. Constructor & Description…