Package org.eclipse.ecf.provider.util
Class IdentifiableObjectInputStream
- java.lang.Object
- 
- java.io.InputStream
- 
- java.io.ObjectInputStream
- 
- org.eclipse.ecf.core.util.OSGIObjectInputStream
- 
- org.eclipse.ecf.provider.util.IdentifiableObjectInputStream
 
 
 
 
- 
- All Implemented Interfaces:
- Closeable,- DataInput,- ObjectInput,- ObjectStreamConstants,- AutoCloseable,- OSGIObjectStreamConstants
 
 public class IdentifiableObjectInputStream extends OSGIObjectInputStream Restores Java objects from the underlying stream by using the classloader returned from the call to given IClassLoaderMapper with the Namespace/ID specified by the associated IdentifiableObjectOutputStream.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class java.io.ObjectInputStreamObjectInputStream.GetField
 
- 
 - 
Field Summary- 
Fields inherited from class org.eclipse.ecf.core.util.OSGIObjectInputStreamb, in, logger
 - 
Fields inherited from interface java.io.ObjectStreamConstantsbaseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, SERIAL_FILTER_PERMISSION, 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
 - 
Fields inherited from interface org.eclipse.ecf.core.util.OSGIObjectStreamConstantsC_ARRAY, C_BOOL, C_BYTE, C_CHAR, C_COLL, C_DICT, C_DOUBLE, C_DTO, C_ENUM, C_EXTER, C_FLOAT, C_INT, C_ITER, C_LIST, C_LONG, C_MAP, C_NULL, C_OBJECT, C_OBOOL, C_OBYTE, C_OCHAR, C_ODOUBLE, C_OFLOAT, C_OINT, C_OLONG, C_OSHORT, C_SER, C_SET, C_SHORT, C_STRING, C_VER
 
- 
 - 
Constructor SummaryConstructors Constructor Description IdentifiableObjectInputStream(IClassLoaderMapper map, InputStream ins)IdentifiableObjectInputStream(Bundle b, InputStream ins)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClassresolveClass(ObjectStreamClass desc)- 
Methods inherited from class org.eclipse.ecf.core.util.OSGIObjectInputStreamavailable, close, createInstance, getClassForType, loadClass, read, read, readBoolean, readByte, readChar, readDouble, readExternalizable, readFields, readFloat, readFully, readFully, readInt, readLine, readLong, readNonSerializedObject, readObjectOverride, readSerializedObject, readShort, readUnsignedByte, readUnsignedShort, readUTF, setClassLoader, setLogService, skipBytes, trace
 - 
Methods inherited from class java.io.ObjectInputStreamdefaultReadObject, enableResolveObject, getObjectInputFilter, readClassDescriptor, readFields, readObject, readStreamHeader, readUnshared, registerValidation, resolveObject, resolveProxyClass, setObjectInputFilter
 - 
Methods inherited from class java.io.InputStreammark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.io.ObjectInputread, skip
 
- 
 
- 
- 
- 
Constructor Detail- 
IdentifiableObjectInputStreampublic IdentifiableObjectInputStream(IClassLoaderMapper map, InputStream ins) throws IOException - Throws:
- IOException
 
 - 
IdentifiableObjectInputStreampublic IdentifiableObjectInputStream(Bundle b, InputStream ins) throws IOException - Throws:
- IOException
- Since:
- 4.8
 
 
- 
 - 
Method Detail- 
resolveClassprotected Class resolveClass(ObjectStreamClass desc) throws IOException, ClassNotFoundException - Overrides:
- resolveClassin class- ObjectInputStream
- Throws:
- IOException
- ClassNotFoundException
 
 
- 
 
-