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, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read, skip
protected ObjectInputStream() throws IOException, SecurityException
IOException
SecurityException
public ObjectInputStream(InputStream var0) throws StreamCorruptedException, IOException
StreamCorruptedException
IOException
public int available() throws IOException
available
in interface ObjectInput
available
in class InputStream
IOException
public void close() throws IOException
close
in interface ObjectInput
close
in class InputStream
IOException
public void defaultReadObject() throws IOException, ClassNotFoundException, NotActiveException
protected boolean enableResolveObject(boolean var0) throws SecurityException
SecurityException
public int read() throws IOException
read
in interface ObjectInput
read
in class InputStream
IOException
public int read(byte[] var0, int var1, int var2) throws IOException
read
in interface ObjectInput
read
in class InputStream
IOException
public boolean readBoolean() throws IOException
readBoolean
in interface DataInput
IOException
public byte readByte() throws IOException
readByte
in interface DataInput
IOException
public char readChar() throws IOException
readChar
in interface DataInput
IOException
public double readDouble() throws IOException
readDouble
in interface DataInput
IOException
public ObjectInputStream.GetField readFields() throws IOException, ClassNotFoundException, NotActiveException
public float readFloat() throws IOException
readFloat
in interface DataInput
IOException
public void readFully(byte[] var0) throws IOException
readFully
in interface DataInput
IOException
public void readFully(byte[] var0, int var1, int var2) throws IOException
readFully
in interface DataInput
IOException
public int readInt() throws IOException
readInt
in interface DataInput
IOException
public String readLine() throws IOException
readLine
in interface DataInput
IOException
public long readLong() throws IOException
readLong
in interface DataInput
IOException
protected ObjectStreamClass readClassDescriptor() throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
protected Class resolveProxyClass(String[] var0) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public final Object readObject() throws OptionalDataException, ClassNotFoundException, IOException
readObject
in interface ObjectInput
OptionalDataException
ClassNotFoundException
IOException
protected Object readObjectOverride() throws OptionalDataException, ClassNotFoundException, IOException
public short readShort() throws IOException
readShort
in interface DataInput
IOException
protected void readStreamHeader() throws IOException, StreamCorruptedException
IOException
StreamCorruptedException
public int readUnsignedByte() throws IOException
readUnsignedByte
in interface DataInput
IOException
public int readUnsignedShort() throws IOException
readUnsignedShort
in interface DataInput
IOException
public String readUTF() throws IOException
readUTF
in interface DataInput
IOException
public void registerValidation(ObjectInputValidation var0, int var1) throws NotActiveException, InvalidObjectException
protected Class resolveClass(ObjectStreamClass var0) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
protected Object resolveObject(Object var0) throws IOException
IOException
public int skipBytes(int var0) throws IOException
skipBytes
in interface DataInput
IOException
Copyright © 2006–2013 OSGi Alliance. All rights reserved.