| 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
IOException - if an I/O error occursClassNotFoundException - if an ClassNotFoundException occurs<T> T readObject(Class<T> cls) throws IOException, ClassNotFoundException
cls - object classIOException - if an I/O error occursClassNotFoundException - if an ClassNotFoundException occurs<T> T readObject(Class<T> cls, Type type) throws IOException, ClassNotFoundException
cls - object classtype - object typeIOException - if an I/O error occursClassNotFoundException - if an ClassNotFoundException occursCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.