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 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 TypeMethodDescriptionintvoidclose()voidprotected booleanenableResolveObject(boolean var0) intread()intread(byte[] var0, int var1, int var2) booleanbytereadByte()charreadChar()protected ObjectStreamClassdoublefloatvoidreadFully(byte[] var0) voidreadFully(byte[] var0, int var1, int var2) intreadInt()readLine()longreadLong()final Objectprotected Objectshortprotected voidintintreadUTF()voidregisterValidation(ObjectInputValidation var0, int var1) protected Classprotected ObjectresolveObject(Object var0) protected ClassresolveProxyClass(String[] var0) intskipBytes(int var0) Methods inherited from class InputStream
mark, markSupported, read, reset, skipMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ObjectInput
read, skip
-
Constructor Details
-
ObjectInputStream
- Throws:
IOExceptionSecurityException
-
ObjectInputStream
- Throws:
StreamCorruptedExceptionIOException
-
-
Method Details
-
available
- Specified by:
availablein interfaceObjectInput- Overrides:
availablein classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceObjectInput- Overrides:
closein classInputStream- Throws:
IOException
-
defaultReadObject
-
enableResolveObject
- Throws:
SecurityException
-
read
- Specified by:
readin interfaceObjectInput- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Specified by:
readin interfaceObjectInput- Overrides:
readin classInputStream- Throws:
IOException
-
readBoolean
- Specified by:
readBooleanin interfaceDataInput- Throws:
IOException
-
readByte
- Specified by:
readBytein interfaceDataInput- Throws:
IOException
-
readChar
- Specified by:
readCharin interfaceDataInput- Throws:
IOException
-
readDouble
- Specified by:
readDoublein interfaceDataInput- Throws:
IOException
-
readFields
public ObjectInputStream.GetField readFields() throws IOException, ClassNotFoundException, NotActiveException -
readFloat
- Specified by:
readFloatin interfaceDataInput- Throws:
IOException
-
readFully
- Specified by:
readFullyin interfaceDataInput- Throws:
IOException
-
readFully
- Specified by:
readFullyin interfaceDataInput- Throws:
IOException
-
readInt
- Specified by:
readIntin interfaceDataInput- Throws:
IOException
-
readLine
- Specified by:
readLinein interfaceDataInput- Throws:
IOException
-
readLong
- Specified by:
readLongin interfaceDataInput- Throws:
IOException
-
readClassDescriptor
- Throws:
IOExceptionClassNotFoundException
-
resolveProxyClass
- Throws:
IOExceptionClassNotFoundException
-
readObject
- Specified by:
readObjectin interfaceObjectInput- Throws:
OptionalDataExceptionClassNotFoundExceptionIOException
-
readObjectOverride
protected Object readObjectOverride() throws OptionalDataException, ClassNotFoundException, IOException -
readShort
- Specified by:
readShortin interfaceDataInput- Throws:
IOException
-
readStreamHeader
- Throws:
IOExceptionStreamCorruptedException
-
readUnsignedByte
- Specified by:
readUnsignedBytein interfaceDataInput- Throws:
IOException
-
readUnsignedShort
- Specified by:
readUnsignedShortin interfaceDataInput- Throws:
IOException
-
readUTF
- Specified by:
readUTFin interfaceDataInput- Throws:
IOException
-
registerValidation
public void registerValidation(ObjectInputValidation var0, int var1) throws NotActiveException, InvalidObjectException -
resolveClass
- Throws:
IOExceptionClassNotFoundException
-
resolveObject
- Throws:
IOException
-
skipBytes
- Specified by:
skipBytesin interfaceDataInput- Throws:
IOException
-