Code example for ObjectInputStream

Methods: defaultReadObject

0
     * @throws IOException  if there is an I/O error. 
     * @throws ClassNotFoundException  if there is a classpath problem. 
     */ 
    private void readObject(ObjectInputStream stream)
        throws IOException, ClassNotFoundException { 
        stream.defaultReadObject();
        this.labelPaintType = SerialUtilities.readPaintType(stream);
//        this.dividerStroke = SerialUtilities.readStroke(stream); 
        this.dividerPaintType = SerialUtilities.readPaintType(stream);
    } 
 
}