@NotStorableClass public class ObjectIOInputStream extends ObjectInputStream implements IObjectIOInputStream
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectIOInputStream.GetFieldImpl |
ObjectInputStream.GetFieldbaseWireHandle, 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, resolveProxyClasspublic 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 IObjectIOInputStreamObjectIOExceptionpublic int available()
throws IOException
available in interface ObjectInputavailable in class ObjectInputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface ObjectInputclose in interface AutoCloseableclose in class ObjectInputStreamIOExceptionprotected Object readObjectOverride() throws IOException, ClassNotFoundException
readObjectOverride in class ObjectInputStreamIOExceptionClassNotFoundExceptionpublic Object readUnshared() throws IOException, ClassNotFoundException
readUnshared in class ObjectInputStreamIOExceptionClassNotFoundExceptionpublic void defaultReadObject()
throws IOException,
ClassNotFoundException
defaultReadObject in interface IObjectIOInputStreamdefaultReadObject in class ObjectInputStreamIOExceptionClassNotFoundExceptionpublic ObjectInputStream.GetField readFields() throws IOException, ClassNotFoundException
readFields in class ObjectInputStreamIOExceptionClassNotFoundExceptionpublic void registerValidation(ObjectInputValidation obj, int prio) throws NotActiveException, InvalidObjectException
registerValidation in class ObjectInputStreamNotActiveExceptionInvalidObjectExceptionpublic int read()
throws IOException
read in interface ObjectInputread in class ObjectInputStreamIOExceptionpublic int read(byte[] buf,
int off,
int len)
throws IOException
read in interface ObjectInputread in class ObjectInputStreamIOExceptionpublic int read(byte[] buf)
throws IOException
read in interface ObjectInputread in class InputStreamIOExceptionpublic void readFully(byte[] buf)
throws IOException
readFully in interface DataInputreadFully in class ObjectInputStreamIOExceptionpublic void readFully(byte[] buf,
int off,
int len)
throws IOException
readFully in interface DataInputreadFully in class ObjectInputStreamIOExceptionpublic boolean readBoolean()
throws IOException
readBoolean in interface DataInputreadBoolean in class ObjectInputStreamIOExceptionpublic byte readByte()
throws IOException
readByte in interface DataInputreadByte in class ObjectInputStreamIOExceptionpublic int readUnsignedByte()
throws IOException
readUnsignedByte in interface DataInputreadUnsignedByte in class ObjectInputStreamIOExceptionpublic char readChar()
throws IOException
readChar in interface DataInputreadChar in class ObjectInputStreamIOExceptionpublic short readShort()
throws IOException
readShort in interface DataInputreadShort in class ObjectInputStreamIOExceptionpublic int readUnsignedShort()
throws IOException
readUnsignedShort in interface DataInputreadUnsignedShort in class ObjectInputStreamIOExceptionpublic float readFloat()
throws IOException
readFloat in interface DataInputreadFloat in class ObjectInputStreamIOExceptionpublic int readInt()
throws IOException
readInt in interface DataInputreadInt in class ObjectInputStreamIOExceptionpublic long readLong()
throws IOException
readLong in interface DataInputreadLong in class ObjectInputStreamIOExceptionpublic double readDouble()
throws IOException
readDouble in interface DataInputreadDouble in class ObjectInputStreamIOException@Deprecated public String readLine() throws IOException
readLine in interface DataInputreadLine in class ObjectInputStreamIOExceptionpublic String readUTF() throws IOException
readUTF in interface DataInputreadUTF in class ObjectInputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic long skip(long toSkip)
throws IOException
skip in interface ObjectInputskip in class InputStreamIOExceptionpublic int skipBytes(int len)
throws IOException
skipBytes in interface DataInputskipBytes in class ObjectInputStreamIOExceptionpublic int getOffset()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.