public class ObjectInputStream extends InputStream implements ObjectInput, ObjectStreamConstants
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectInputStream.GetField |
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| Modifier | Constructor and Description |
|---|---|
protected |
ObjectInputStream() |
|
ObjectInputStream(InputStream var0) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
defaultReadObject() |
protected boolean |
enableResolveObject(boolean var0) |
int |
read() |
int |
read(byte[] var0,
int var1,
int var2) |
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
protected ObjectStreamClass |
readClassDescriptor() |
double |
readDouble() |
ObjectInputStream.GetField |
readFields() |
float |
readFloat() |
void |
readFully(byte[] var0) |
void |
readFully(byte[] var0,
int var1,
int var2) |
int |
readInt() |
String |
readLine() |
long |
readLong() |
Object |
readObject() |
protected Object |
readObjectOverride() |
short |
readShort() |
protected void |
readStreamHeader() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
void |
registerValidation(ObjectInputValidation var0,
int var1) |
protected Class |
resolveClass(ObjectStreamClass var0) |
protected Object |
resolveObject(Object var0) |
protected Class |
resolveProxyClass(String[] var0) |
int |
skipBytes(int var0) |
mark, markSupported, read, reset, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitread, skipprotected ObjectInputStream()
throws IOException,
SecurityException
IOExceptionSecurityExceptionpublic ObjectInputStream(InputStream var0) throws StreamCorruptedException, IOException
StreamCorruptedExceptionIOExceptionpublic int available()
throws IOException
available in interface ObjectInputavailable in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface ObjectInputclose in class InputStreamIOExceptionpublic void defaultReadObject()
throws IOException,
ClassNotFoundException,
NotActiveException
protected boolean enableResolveObject(boolean var0)
throws SecurityException
SecurityExceptionpublic int read()
throws IOException
read in interface ObjectInputread in class InputStreamIOExceptionpublic int read(byte[] var0,
int var1,
int var2)
throws IOException
read in interface ObjectInputread in class InputStreamIOExceptionpublic boolean readBoolean()
throws IOException
readBoolean in interface DataInputIOExceptionpublic byte readByte()
throws IOException
readByte in interface DataInputIOExceptionpublic char readChar()
throws IOException
readChar in interface DataInputIOExceptionpublic double readDouble()
throws IOException
readDouble in interface DataInputIOExceptionpublic ObjectInputStream.GetField readFields() throws IOException, ClassNotFoundException, NotActiveException
public float readFloat()
throws IOException
readFloat in interface DataInputIOExceptionpublic void readFully(byte[] var0)
throws IOException
readFully in interface DataInputIOExceptionpublic void readFully(byte[] var0,
int var1,
int var2)
throws IOException
readFully in interface DataInputIOExceptionpublic int readInt()
throws IOException
readInt in interface DataInputIOExceptionpublic String readLine() throws IOException
readLine in interface DataInputIOExceptionpublic long readLong()
throws IOException
readLong in interface DataInputIOExceptionprotected ObjectStreamClass readClassDescriptor() throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprotected Class resolveProxyClass(String[] var0) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic final Object readObject() throws OptionalDataException, ClassNotFoundException, IOException
readObject in interface ObjectInputOptionalDataExceptionClassNotFoundExceptionIOExceptionprotected Object readObjectOverride() throws OptionalDataException, ClassNotFoundException, IOException
public short readShort()
throws IOException
readShort in interface DataInputIOExceptionprotected void readStreamHeader()
throws IOException,
StreamCorruptedException
IOExceptionStreamCorruptedExceptionpublic int readUnsignedByte()
throws IOException
readUnsignedByte in interface DataInputIOExceptionpublic int readUnsignedShort()
throws IOException
readUnsignedShort in interface DataInputIOExceptionpublic String readUTF() throws IOException
readUTF in interface DataInputIOExceptionpublic void registerValidation(ObjectInputValidation var0, int var1) throws NotActiveException, InvalidObjectException
protected Class resolveClass(ObjectStreamClass var0) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprotected Object resolveObject(Object var0) throws IOException
IOExceptionpublic int skipBytes(int var0)
throws IOException
skipBytes in interface DataInputIOException