Example usage for Java java.io ObjectInputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
ObjectInputStream(InputStream in) Creates an ObjectInputStream that reads from the specified InputStream. |
int | available() Returns the number of bytes that can be read without blocking. |
void | close() Closes the input stream. |
void | defaultReadObject() Read the non-static and non-transient fields of the current class from this stream. |
int | read(byte[] buf, int off, int len) Reads into an array of bytes. |
int | read(byte b[]) Reads some number of bytes from the input stream and stores them into the buffer array b . |
int | read() Reads a byte of data. |
boolean | readBoolean() Reads in a boolean. |
byte | readByte() Reads an 8 bit byte. |
char | readChar() Reads a 16 bit char. |
double | readDouble() Reads a 64 bit double. |
ObjectInputStream.GetField | readFields() Reads the persistent fields from the stream and makes them available by name. |
float | readFloat() Reads a 32 bit float. |
void | readFully(byte[] buf) Reads bytes, blocking until all bytes are read. |
void | readFully(byte[] buf, int off, int len) Reads bytes, blocking until all bytes are read. |
int | readInt() Reads a 32 bit int. |
String | readLine() Reads in a line that has been terminated by a \n, \r, \r\n or EOF. |
long | readLong() Reads a 64 bit long. |
Object | readObject() Read an object from the ObjectInputStream. |
short | readShort() Reads a 16 bit short. |
Object | readUnshared() Reads an "unshared" object from the ObjectInputStream. |
int | readUnsignedByte() Reads an unsigned 8 bit byte. |
int | readUnsignedShort() Reads an unsigned 16 bit short. |
String | readUTF() Reads a String in modified UTF-8 format. |
void | registerValidation(ObjectInputValidation obj, int prio) Register an object to be validated before the graph is returned. |
int | skipBytes(int len) Skips bytes. |