Package java.io
Class ObjectInputStream
java.lang.Object
java.io.InputStream
java.io.ObjectInputStream
- All Implemented Interfaces:
DataInput
,ObjectInput
,ObjectStreamConstants
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface java.io.ObjectStreamConstants
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected boolean
enableResolveObject
(boolean var0) int
read()
boolean
byte
readByte()
char
readChar()
protected ObjectStreamClass
double
float
void
readFully
(byte[] var0) void
readFully
(byte[] var0, int var1, int var2) int
readInt()
readLine()
Deprecated.long
readLong()
final Object
protected Object
short
protected void
int
int
readUTF()
void
registerValidation
(ObjectInputValidation var0, int var1) protected Class
protected Object
resolveObject
(Object var0) protected Class
resolveProxyClass
(String[] var0) int
skipBytes
(int var0) Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
-
Constructor Details
-
ObjectInputStream
- Throws:
IOException
-
ObjectInputStream
- Throws:
IOException
-
-
Method Details
-
defaultReadObject
- Throws:
IOException
ClassNotFoundException
-
enableResolveObject
protected boolean enableResolveObject(boolean var0) -
read
- Specified by:
read
in interfaceObjectInput
- Specified by:
read
in classInputStream
- Throws:
IOException
-
readBoolean
- Specified by:
readBoolean
in interfaceDataInput
- Throws:
IOException
-
readByte
- Specified by:
readByte
in interfaceDataInput
- Throws:
IOException
-
readChar
- Specified by:
readChar
in interfaceDataInput
- Throws:
IOException
-
readClassDescriptor
- Throws:
IOException
ClassNotFoundException
-
readDouble
- Specified by:
readDouble
in interfaceDataInput
- Throws:
IOException
-
readFields
- Throws:
IOException
ClassNotFoundException
-
readFloat
- Specified by:
readFloat
in interfaceDataInput
- Throws:
IOException
-
readFully
- Specified by:
readFully
in interfaceDataInput
- Throws:
IOException
-
readFully
- Specified by:
readFully
in interfaceDataInput
- Throws:
IOException
-
readInt
- Specified by:
readInt
in interfaceDataInput
- Throws:
IOException
-
readLine
Deprecated.- Specified by:
readLine
in interfaceDataInput
- Throws:
IOException
-
readLong
- Specified by:
readLong
in interfaceDataInput
- Throws:
IOException
-
readObject
- Specified by:
readObject
in interfaceObjectInput
- Throws:
IOException
ClassNotFoundException
-
readObjectOverride
- Throws:
IOException
ClassNotFoundException
-
readShort
- Specified by:
readShort
in interfaceDataInput
- Throws:
IOException
-
readStreamHeader
- Throws:
IOException
-
readUTF
- Specified by:
readUTF
in interfaceDataInput
- Throws:
IOException
-
readUnsignedByte
- Specified by:
readUnsignedByte
in interfaceDataInput
- Throws:
IOException
-
readUnsignedShort
- Specified by:
readUnsignedShort
in interfaceDataInput
- Throws:
IOException
-
registerValidation
public void registerValidation(ObjectInputValidation var0, int var1) throws InvalidObjectException, NotActiveException -
resolveClass
- Throws:
IOException
ClassNotFoundException
-
resolveObject
- Throws:
IOException
-
resolveProxyClass
- Throws:
IOException
ClassNotFoundException
-
skipBytes
- Specified by:
skipBytes
in interfaceDataInput
- Throws:
IOException
-