Initial commit from SVN.

This commit is contained in:
wcrisman
2014-05-30 10:31:51 -07:00
commit b45e56b890
1968 changed files with 370949 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
/*
* Copyright (c) 1999,2005 Declarative Engineering LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Declarative Engineering LLC
* verson 1 which accompanies this distribution, and is available at
* http://declarativeengineering.com/legal/DE_Developer_License_v1.txt
*/
package com.common.io;
public interface IExternalizable {
public static final Object NULL_VALUE = new Object();
/**
* Reads this object from the given stream.
* @param in The input stream to read this object from.
* @return The replacement object if applicable. Allows the read object to replace its self with an alternate. Useful if the object already exists as an identifier somewhere. If null then the stream will assume this instance is the result.
*/
public Object readExternal(IObjectInputStream in) throws java.io.IOException, ClassNotFoundException;
/**
* Writes this object to the given stream.
* @param out The output stream to write this object to.
*/
public void writeExternal(IObjectOutputStream out) throws java.io.IOException;
}//IExternalizable//