jadex.util
Class FixedObjectInputStream
java.lang.Object
   java.io.InputStream
java.io.InputStream
       java.io.ObjectInputStream
java.io.ObjectInputStream
           jadex.util.FixedObjectInputStream
jadex.util.FixedObjectInputStream
- All Implemented Interfaces: 
- DataInput, ObjectInput, ObjectStreamConstants
- public class FixedObjectInputStream- extends ObjectInputStream
Fixes JDK Bug 4932376.
 
 
 
| Fields inherited from interface java.io.ObjectStreamConstants | 
| 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 | 
 
 
| Method Summary | 
|  Class | resolveClass(ObjectStreamClass classdesc)Load the local class equivalent of the specified stream class
  description, by using the class loader assigned to this Context.
 | 
 
| Methods inherited from class java.io.ObjectInputStream | 
| available, close, defaultReadObject, read, read, readBoolean, readByte, readChar, readDouble, readFields, readFloat, readFully, readFully, readInt, readLine, readLong, readObject, readShort, readUnshared, readUnsignedByte, readUnsignedShort, readUTF, registerValidation, skipBytes | 
 
 
 
 
FixedObjectInputStream
public FixedObjectInputStream(InputStream stream)
                       throws IOException
- Construct a new instance of CustomObjectInputStream
 
- Parameters:
- stream- The input stream it will read from.
  //@param classloader The class loader used to instantiate objects.
- Throws:
- IOException- if an input/output error occurs
resolveClass
public Class resolveClass(ObjectStreamClass classdesc)
                   throws ClassNotFoundException,
                          IOException
- Load the local class equivalent of the specified stream class
  description, by using the class loader assigned to this Context.
 
- 
- Parameters:
- classdesc- Class description from the input stream
- Throws:
- ClassNotFoundException- if this class cannot be found
- IOException- if an input/output error occurs
 
Submit a bug or feature
 For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.