Generated by
JDiff

Class java.io.ObjectInputStream

Documentation changed from old to new.

Changed Constructors
ObjectInputStream(InputStream) Change in exceptions thrown from (IOException, StreamCorruptedException) to IOException.
Documentation changed from old to new.
Creates 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
Object readUnshared() Reads an "unshared" object from the ObjectInputStream.
 

Changed Methods
void close() Documentation changed from old to new.
Closes the input stream.
void defaultReadObject() Change in exceptions: NotActiveException was removed..
Documentation changed from old to new.
Read the non-static and non-transient fields of the current class from this stream.
boolean enableResolveObject(boolean) Documentation changed from old to new.
Enable the stream to allow objects read from the stream to be replaced.
boolean readBoolean() Documentation changed from old to new.
Reads in a boolean.
byte readByte() Documentation changed from old to new.
Reads an 8 bit byte.
char readChar() Documentation changed from old to new.
Reads a 16 bit char.
ObjectStreamClass readClassDescriptor() Documentation changed from old to new.
Read a class descriptor from the serialization stream.
double readDouble() Documentation changed from old to new.
Reads a 64 bit double.
GetField readFields() Change in exceptions: NotActiveException was removed..
Documentation changed from old to new.
Reads the persistent fields from the stream and makes them available by name.
float readFloat() Documentation changed from old to new.
Reads a 32 bit float.
int readInt() Documentation changed from old to new.
Reads a 32 bit int.
long readLong() Documentation changed from old to new.
Reads a 64 bit long.
Object readObject() Change in exceptions: OptionalDataException was removed..
Documentation changed from old to new.
Read an object from the ObjectInputStream.
Object readObjectOverride() Change in exceptions: OptionalDataException was removed..
Documentation changed from old to new.
This method is called by trusted subclasses of ObjectOutputStream that constructed ObjectOutputStream using the protected no-arg constructor.
short readShort() Documentation changed from old to new.
Reads a 16 bit short.
int readUnsignedByte() Documentation changed from old to new.
Reads an unsigned 8 bit byte.
int readUnsignedShort() Documentation changed from old to new.
Reads an unsigned 16 bit short.
void registerValidation(ObjectInputValidation, int) Documentation changed from old to new.
Changed from synchronized to non-synchronized.
Register an object to be validated before the graph is returned.
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.
Class resolveProxyClass(String[]) Documentation changed from old to new.
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.
int skipBytes(int) Documentation changed from old to new.
Skips bytes block until all bytes are skipped.
int read() Documentation changed from old to new.
Reads a byte of data.
int read(byte[], int, int) Documentation changed from old to new.
Reads into an array of bytes.
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.