Class ResolvingObjectInputStream

java.lang.Object
java.io.InputStream
java.io.ObjectInputStream
com.tangosol.io.ResolvingObjectInputStream
All Implemented Interfaces:
Resolving, Closeable, DataInput, ObjectInput, ObjectStreamConstants, AutoCloseable

public class ResolvingObjectInputStream extends ObjectInputStream implements Resolving
Provides an ObjectInputStream that uses a caller provided ClassLoader to resolve classes during objects deserialization.
Author:
gg 2001.12.26
  • Constructor Details

    • ResolvingObjectInputStream

      public ResolvingObjectInputStream(InputStream stream, ClassLoader loader) throws IOException
      Create an ObjectInputStream that reads from the specified InputStream using the specified ClassLoader to resolve classes.
      Parameters:
      stream - the underlying InputStream from which to read
      loader - the ClassLoader to use for class resolution
      Throws:
      IOException - if an exception occurred in the underlying stream.
      See Also:
  • Method Details