Generated by
JDiff

Class java.io.ObjectInputStream

Documentation changed from old to new.

Changed Constructors
ObjectInputStream(InputStream) Documentation changed from old to new.
Create an ObjectInputStream that reads from the specified InputStream.
ObjectInputStream(void) Documentation changed from old to new.
Provide a way for subclasses that are completely reimplementing ObjectInputStream to not have to allocate private data just used by this implementation of ObjectInputStream.
 

Added Methods
ObjectStreamClass readClassDescriptor() Read a class descriptor from the serialization stream.
Class resolveProxyClass(String[]) Returns a proxy class that implements the interfaces named in a proxy class descriptor; subclasses may implement this method to read custom data from the stream along with the descriptors for dynamic proxy classes allowing them to use an alternate loading mechanism for the interfaces and the proxy class.
 

Changed Methods
int available() Documentation changed from old to new.
Returns the number of bytes that can be read without blocking.
boolean enableResolveObject(boolean) Documentation changed from old to new.
Enable the stream to allow objects read from the stream to be replaced.
GetField readFields() Documentation changed from old to new.
Reads the persistent fields from the stream and makes them available by name.
String readLine() Documentation changed from old to new.
This method does not properly convert bytes to characters.
Object readObjectOverride() Documentation changed from old to new.
This method is called by trusted subclasses of ObjectOutputStream that constructed ObjectOutputStream using the protected no-arg constructor.
void readStreamHeader() Documentation changed from old to new.
The readStreamHeader method is provided to allow subclasses to read and verify their own stream headers.
String readUTF() Documentation changed from old to new.
Reads a UTF format String.
Class resolveClass(ObjectStreamClass) Documentation changed from old to new.
Load the local class equivalent of the specified stream class description.
Object resolveObject(Object) Documentation changed from old to new.
This method will allow trusted subclasses of ObjectInputStream to substitute one object for another during deserialization.
int skipBytes(int) Documentation changed from old to new.
Skips bytes block until all bytes are skipped.
void readFully(byte[]) Documentation changed from old to new.
Reads bytes blocking until all bytes are read.
void readFully(byte[], int, int) Documentation changed from old to new.
Reads bytes blocking until all bytes are read.