01: /*
02: * Copyright (c) 1998 - 2005 Versant Corporation
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * Versant Corporation - initial API and implementation
10: */
11: package com.versant.core.util;
12:
13: import java.io.IOException;
14:
15: /**
16: * Replacement for Externalizable that uses our custom steams to speed
17: * things up.
18: */
19: public interface FastExternalizable {
20:
21: public void writeExternal(OIDObjectOutput out) throws IOException;
22:
23: public void readExternal(OIDObjectInput in) throws IOException,
24: ClassNotFoundException;
25:
26: }
|