public interface ObjectInput extends DataInput
| Modifier and Type | Method and Description |
|---|---|
Object |
readObject()
read object.
|
<T> T |
readObject(Class<T> cls)
read object.
|
<T> T |
readObject(Class<T> cls,
Type type)
read object.
|
Object readObject() throws IOException, ClassNotFoundException
IOExceptionClassNotFoundException<T> T readObject(Class<T> cls) throws IOException, ClassNotFoundException
cls - object type.IOExceptionClassNotFoundException<T> T readObject(Class<T> cls, Type type) throws IOException, ClassNotFoundException
cls - object type.IOExceptionClassNotFoundExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.