public class NativeJavaObjectInput extends Object implements ObjectInput
| Constructor and Description |
|---|
NativeJavaObjectInput(InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
readBool() |
byte |
readByte() |
byte[] |
readBytes() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
Object |
readObject() |
<T> T |
readObject(Class<T> cls) |
<T> T |
readObject(Class<T> cls,
Type type) |
short |
readShort() |
String |
readUTF() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadAttachments, readEvent, readThrowablepublic NativeJavaObjectInput(InputStream is) throws IOException
IOExceptionpublic Object readObject() throws IOException, ClassNotFoundException
readObject in interface ObjectInputIOExceptionClassNotFoundExceptionpublic <T> T readObject(Class<T> cls) throws IOException, ClassNotFoundException
readObject in interface ObjectInputIOExceptionClassNotFoundExceptionpublic <T> T readObject(Class<T> cls, Type type) throws IOException, ClassNotFoundException
readObject in interface ObjectInputIOExceptionClassNotFoundExceptionpublic boolean readBool()
throws IOException
readBool in interface DataInputIOExceptionpublic byte readByte()
throws IOException
readByte in interface DataInputIOExceptionpublic short readShort()
throws IOException
readShort in interface DataInputIOExceptionpublic int readInt()
throws IOException
readInt in interface DataInputIOExceptionpublic long readLong()
throws IOException
readLong in interface DataInputIOExceptionpublic float readFloat()
throws IOException
readFloat in interface DataInputIOExceptionpublic double readDouble()
throws IOException
readDouble in interface DataInputIOExceptionpublic String readUTF() throws IOException
readUTF in interface DataInputIOExceptionpublic byte[] readBytes()
throws IOException
readBytes in interface DataInputIOExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.