BEA Systems, Inc.

com.beasys.commerce.axiom.reasoning.rules.service
Class ObjectInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--java.io.ObjectInputStream
              |
              +--com.beasys.commerce.axiom.reasoning.rules.service.ObjectInputStream

public class ObjectInputStream
extends java.io.ObjectInputStream

This class implements a specialization of java.io.ObjectInputStream. The features added by this specialization support user-controlled resolution of classes.


Inner classes inherited from class java.io.ObjectInputStream
java.io.ObjectInputStream.GetField
 
Constructor Summary
ObjectInputStream(java.io.InputStream inputStream)
          Constructor
 
Method Summary
 void registerClass(java.lang.String className, java.lang.Class cls)
          Allows the caller to register a classname/class pair for use later during class resolution
 
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, readUnsignedByte, readUnsignedShort, readUTF, registerValidation, skipBytes
 
Methods inherited from class java.io.InputStream
mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectInputStream

public ObjectInputStream(java.io.InputStream inputStream)
                  throws java.io.StreamCorruptedException,
                         java.io.IOException
Constructor
Parameters:
inputStream - The stream from which objects should be read
Throws:
java.io.StreamCorruptedException -  
java.io.IOException -  
Method Detail

registerClass

public void registerClass(java.lang.String className,
                          java.lang.Class cls)
                   throws java.lang.IllegalArgumentException
Allows the caller to register a classname/class pair for use later during class resolution
Parameters:
className - The name of the class to register
cls - The class to register
Throws:
java.lang.IllegalArgumentException - Thrown if className is null or zero-length, or if cls is null.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved