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.fillPaintType = SerialUtilities.readPaintType(stream);
            this.outlinePaintType = SerialUtilities.readPaintType(stream);
        } 
 
    } 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE