The ObjectInputStreamWithLoader Class of the com.ms.io package provides methods that allow a class to be resolved by using an existing ClassLoader instance instead of the system class loader. It extends the java.io.ObjectInputStream class, which delegates class resolution to the java.lang.ClassLoader supplied at construction time.
public class ObjectInputStreamWithLoader extends ObjectInputStream { // Constructors public ObjectInputStreamWithLoader(InputStream in, ClassLoader loader) throws IOException, StreamCorruptedException; // Methods protected Class resolveClass(ObjectStreamClass classDesc) throws IOException, ClassNotFoundException; }
ObjectInputStream | +--ObjectInputStreamWithLoader