Example usage for java.io ObjectInputValidation interface-usage

List of usage examples for java.io ObjectInputValidation interface-usage

Introduction

In this page you can find the example usage for java.io ObjectInputValidation interface-usage.

Usage

From source file Main.java

class Example implements Serializable, ObjectInputValidation {

    String s = "Hello World from java2s.com!";

    private String readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {

From source file org.jfree.data.general.AbstractDataset.java

/**
 * An abstract implementation of the {@link Dataset} interface, containing a
 * mechanism for registering change listeners.
 */
public abstract class AbstractDataset implements Dataset, Cloneable, Serializable, ObjectInputValidation {