Java java.io ObjectInput fields, constructors, methods, implement or subclass

Example usage for Java java.io ObjectInput fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.io ObjectInput.

The text is from its open source code.

Implementation

java.io.ObjectInput has the following implementations.
Click this link to see all its implementation.

Method

voidclose()
Closes the input stream.
ClassgetClass()
Returns the runtime class of this Object .
intread(byte b[])
Reads into an array of bytes.
intread()
Reads a byte of data.
intread(byte b[], int off, int len)
Reads into an array of bytes.
booleanreadBoolean()
Reads one input byte and returns true if that byte is nonzero, false if that byte is zero.
bytereadByte()
Reads and returns one input byte.
charreadChar()
Reads two input bytes and returns a char value.
doublereadDouble()
Reads eight input bytes and returns a double value.
floatreadFloat()
Reads four input bytes and returns a float value.
voidreadFully(byte b[], int off, int len)
Reads len bytes from an input stream.
voidreadFully(byte b[])
Reads some bytes from an input stream and stores them into the buffer array b .
intreadInt()
Reads four input bytes and returns an int value.
longreadLong()
Reads eight input bytes and returns a long value.
ObjectreadObject()
Read and return an object.
shortreadShort()
Reads two input bytes and returns a short value.
StringreadUTF()
Reads in a string that has been encoded using a modified UTF-8 format.