Package | Description |
---|---|
java.io | |
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectInputStream.defaultReadObject()
Read the non-static and non-transient fields of the current class from
this stream.
|
void |
Externalizable.readExternal(ObjectInput in)
The object implements the readExternal method to restore its
contents by calling the methods of DataInput for primitive
types and readObject for objects, strings and arrays.
|
ObjectInputStream.GetField |
ObjectInputStream.readFields()
Reads the persistent fields from the stream and makes them available by
name.
|
Object |
ObjectInputStream.readObject()
Read an object from the ObjectInputStream.
|
Object |
ObjectInput.readObject()
Read and return an object.
|
Object |
ObjectInputStream.readUnshared()
Reads an "unshared" object from the ObjectInputStream.
|
Modifier and Type | Method and Description |
---|---|
static Class<?> |
Class.forName(String className)
Returns the
Class object associated with the class or
interface with the given string name. |
static Class<?> |
Class.forName(String name,
boolean initialize,
ClassLoader loader)
Returns the
Class object associated with the class or
interface with the given string name, using the given class loader. |
Class<?> |
ClassLoader.loadClass(String name)
Loads the class with the specified binary name.
|