加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090321141157/http://developer.android.com:80/reference/java/io/ObjectInputValidation.html
public interface

ObjectInputValidation

java.io.ObjectInputValidation

Class Overview

Objects to perform validations on other objects read with serialization should implement this interface. An object's readObject() can call ObjectInputStream.registerValidation() passing an object that implements ObjectInputValidation.

Summary

Public Methods
abstract void validateObject()
Validates an object read with serialization.

Public Methods

public abstract void validateObject ()

Validates an object read with serialization.

Throws
InvalidObjectException if the receiver fails to validate the object read