|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alibaba.dubbo.common.serialize.support.nativejava.NativeJavaObjectInput
public class NativeJavaObjectInput
| Constructor Summary | |
|---|---|
NativeJavaObjectInput(InputStream is)
|
|
| Method Summary | ||
|---|---|---|
boolean |
readBool()
Read boolean. |
|
byte |
readByte()
Read byte. |
|
byte[] |
readBytes()
Read byte array. |
|
double |
readDouble()
Read double. |
|
float |
readFloat()
Read float. |
|
int |
readInt()
Read integer. |
|
long |
readLong()
Read long. |
|
Object |
readObject()
read object. |
|
|
readObject(Class<T> cls)
read object. |
|
|
readObject(Class<T> cls,
Type type)
read object. |
|
short |
readShort()
Read short integer. |
|
String |
readUTF()
Read UTF-8 string. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NativeJavaObjectInput(InputStream is)
throws IOException
IOException| Method Detail |
|---|
public Object readObject()
throws IOException,
ClassNotFoundException
ObjectInput
readObject in interface ObjectInputIOException
ClassNotFoundException
public <T> T readObject(Class<T> cls)
throws IOException,
ClassNotFoundException
ObjectInput
readObject in interface ObjectInputcls - object type.
IOException
ClassNotFoundException
public <T> T readObject(Class<T> cls,
Type type)
throws IOException,
ClassNotFoundException
ObjectInput
readObject in interface ObjectInputcls - object type.
IOException
ClassNotFoundException
public boolean readBool()
throws IOException
DataInput
readBool in interface DataInputIOException
public byte readByte()
throws IOException
DataInput
readByte in interface DataInputIOException
public short readShort()
throws IOException
DataInput
readShort in interface DataInputIOException
public int readInt()
throws IOException
DataInput
readInt in interface DataInputIOException
public long readLong()
throws IOException
DataInput
readLong in interface DataInputIOException
public float readFloat()
throws IOException
DataInput
readFloat in interface DataInputIOException
public double readDouble()
throws IOException
DataInput
readDouble in interface DataInputIOException
public String readUTF()
throws IOException
DataInput
readUTF in interface DataInputIOException
public byte[] readBytes()
throws IOException
DataInput
readBytes in interface DataInputIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||