@NotStorableClass public class ObjectIOInputStream extends ObjectInputStream implements IObjectIOInputStream
Modifier and Type | Class and Description |
---|---|
static class |
ObjectIOInputStream.GetFieldImpl |
ObjectInputStream.GetField
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, 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_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
Constructor and Description |
---|
ObjectIOInputStream(IObjectIOManagerForObjectIO objectIOManager,
ClassInfoFactory classInfoFactory,
HelperBinaryConversion helperBinaryConversion) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
clear() |
void |
close() |
void |
defaultReadObject() |
int |
getOffset() |
void |
initialize(ObjectAndPersistInfo objectAndPersistInfo,
byte[] binary,
int offset) |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] buf) |
int |
read(byte[] buf,
int off,
int len) |
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
ObjectInputStream.GetField |
readFields()
from
http://java.sun.com/j2se/1.3/docs/guide/serialization/spec/input.doc1
.html
The readFields method reads the values of the serializable fields from the stream and makes them available via the GetField class. |
float |
readFloat() |
void |
readFully(byte[] buf) |
void |
readFully(byte[] buf,
int off,
int len) |
int |
readInt() |
String |
readLine()
Deprecated.
|
long |
readLong() |
protected Object |
readObjectOverride() |
short |
readShort() |
Object |
readUnshared() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
void |
registerValidation(ObjectInputValidation obj,
int prio) |
void |
reset() |
void |
setObjectIOGeneric(ObjectInputImmediateGeneric objectIOGeneric) |
long |
skip(long toSkip) |
int |
skipBytes(int len) |
enableResolveObject, readClassDescriptor, readObject, readStreamHeader, resolveClass, resolveObject, resolveProxyClass
public ObjectIOInputStream(IObjectIOManagerForObjectIO objectIOManager, ClassInfoFactory classInfoFactory, HelperBinaryConversion helperBinaryConversion) throws IOException, SecurityException, ObjectIOException
public void setObjectIOGeneric(ObjectInputImmediateGeneric objectIOGeneric)
public void initialize(ObjectAndPersistInfo objectAndPersistInfo, byte[] binary, int offset)
public void clear() throws ObjectIOException
clear
in interface IObjectIOInputStream
ObjectIOException
public int available() throws IOException
available
in interface ObjectInput
available
in class ObjectInputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface ObjectInput
close
in interface AutoCloseable
close
in class ObjectInputStream
IOException
protected Object readObjectOverride() throws IOException, ClassNotFoundException
readObjectOverride
in class ObjectInputStream
IOException
ClassNotFoundException
public Object readUnshared() throws IOException, ClassNotFoundException
readUnshared
in class ObjectInputStream
IOException
ClassNotFoundException
public void defaultReadObject() throws IOException, ClassNotFoundException
defaultReadObject
in interface IObjectIOInputStream
defaultReadObject
in class ObjectInputStream
IOException
ClassNotFoundException
public ObjectInputStream.GetField readFields() throws IOException, ClassNotFoundException
readFields
in class ObjectInputStream
IOException
ClassNotFoundException
public void registerValidation(ObjectInputValidation obj, int prio) throws NotActiveException, InvalidObjectException
registerValidation
in class ObjectInputStream
NotActiveException
InvalidObjectException
public int read() throws IOException
read
in interface ObjectInput
read
in class ObjectInputStream
IOException
public int read(byte[] buf, int off, int len) throws IOException
read
in interface ObjectInput
read
in class ObjectInputStream
IOException
public int read(byte[] buf) throws IOException
read
in interface ObjectInput
read
in class InputStream
IOException
public void readFully(byte[] buf) throws IOException
readFully
in interface DataInput
readFully
in class ObjectInputStream
IOException
public void readFully(byte[] buf, int off, int len) throws IOException
readFully
in interface DataInput
readFully
in class ObjectInputStream
IOException
public boolean readBoolean() throws IOException
readBoolean
in interface DataInput
readBoolean
in class ObjectInputStream
IOException
public byte readByte() throws IOException
readByte
in interface DataInput
readByte
in class ObjectInputStream
IOException
public int readUnsignedByte() throws IOException
readUnsignedByte
in interface DataInput
readUnsignedByte
in class ObjectInputStream
IOException
public char readChar() throws IOException
readChar
in interface DataInput
readChar
in class ObjectInputStream
IOException
public short readShort() throws IOException
readShort
in interface DataInput
readShort
in class ObjectInputStream
IOException
public int readUnsignedShort() throws IOException
readUnsignedShort
in interface DataInput
readUnsignedShort
in class ObjectInputStream
IOException
public float readFloat() throws IOException
readFloat
in interface DataInput
readFloat
in class ObjectInputStream
IOException
public int readInt() throws IOException
readInt
in interface DataInput
readInt
in class ObjectInputStream
IOException
public long readLong() throws IOException
readLong
in interface DataInput
readLong
in class ObjectInputStream
IOException
public double readDouble() throws IOException
readDouble
in interface DataInput
readDouble
in class ObjectInputStream
IOException
@Deprecated public String readLine() throws IOException
readLine
in interface DataInput
readLine
in class ObjectInputStream
IOException
public String readUTF() throws IOException
readUTF
in interface DataInput
readUTF
in class ObjectInputStream
IOException
public void mark(int readlimit)
mark
in class InputStream
public boolean markSupported()
markSupported
in class InputStream
public void reset() throws IOException
reset
in class InputStream
IOException
public long skip(long toSkip) throws IOException
skip
in interface ObjectInput
skip
in class InputStream
IOException
public int skipBytes(int len) throws IOException
skipBytes
in interface DataInput
skipBytes
in class ObjectInputStream
IOException
public int getOffset()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.