Build 1.0_r1(from source)

java.io
Interface ObjectInputValidation


public interface ObjectInputValidation

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.

See Also:
ObjectInputStream

Method Summary
 void validateObject()
          Validates an object read with serialization.
 

Method Detail

validateObject

void validateObject()
                    throws InvalidObjectException
Validates an object read with serialization.

Throws:
InvalidObjectException - if the receiver fails to validate the object read

Build 1.0_r1(from source)

Please submit a feedback, bug or feature