| java.io.ObjectInput | 
|  Known Indirect Subclasses | 
Defines an interface for classes that allow reading serialized objects.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Indicates the number of bytes of primitive data that can be read without
 blocking. | |||||||||||
| Closes this stream. | |||||||||||
| Reads bytes from this stream into the byte array  buffer. | |||||||||||
| Reads a single byte from this stream and returns it as an integer in the
 range from 0 to 255. | |||||||||||
| Reads at most  countbytes from this stream and stores them in
 byte arraybufferstarting at offsetcount. | |||||||||||
| Reads the next object from this stream. | |||||||||||
| Skips  byteCountbytes on this stream. | |||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From interface
  java.io.DataInput | |||||||||||
Indicates the number of bytes of primitive data that can be read without blocking.
| IOException | if an I/O error occurs. | 
|---|
Closes this stream. Implementations of this method should free any resources used by the stream.
| IOException | if an I/O error occurs while closing the input stream. | 
|---|
Reads bytes from this stream into the byte array buffer. Blocks
 while waiting for input.
| buffer | the array in which to store the bytes read. | 
|---|
| IOException | if this stream is closed or another I/O error occurs. | 
|---|
Reads a single byte from this stream and returns it as an integer in the range from 0 to 255. Returns -1 if the end of this stream has been reached. Blocks if no input is available.
| IOException | if this stream is closed or another I/O error occurs. | 
|---|
Reads at most count bytes from this stream and stores them in
 byte array buffer starting at offset count. Blocks while
 waiting for input.
| buffer | the array in which to store the bytes read. | 
|---|---|
| offset | the initial position in bufferto store the bytes read
            from this stream. | 
| count | the maximum number of bytes to store in buffer. | 
| IOException | if this stream is closed or another I/O error occurs. | 
|---|
Reads the next object from this stream.
| ClassNotFoundException | if the object's class cannot be found. | 
|---|---|
| IOException | if this stream is closed or another I/O error occurs. | 
Skips byteCount bytes on this stream. Less than byteCount byte are
 skipped if the end of this stream is reached before the operation
 completes.
| IOException | if this stream is closed or another I/O error occurs. | 
|---|