Xindice API
version 1.1b4

org.apache.xindice.core.filer
Interface Streamable

All Known Implementing Classes:
Paged.PageHeader, IndexPattern

public interface Streamable

Streamable is an interface implemented by objects used by Filers and Indexers in order to serialize objects to and from IO streams.

Version:
CVS $Revision: 1.6 $, $Date: 2004/03/20 14:02:38 $

Method Summary
 void read(java.io.DataInput is)
          read reads the object state from the stream.
 void write(java.io.DataOutput os)
          write writes the object state to the stream.
 

Method Detail

read

public void read(java.io.DataInput is)
          throws java.io.IOException
read reads the object state from the stream.
Parameters:
is - The DataInputStream
Throws:
java.io.IOException - if an IOException occurs

write

public void write(java.io.DataOutput os)
           throws java.io.IOException
write writes the object state to the stream.
Parameters:
os - The DataOutputStream
Throws:
java.io.IOException - if an IOException occurs

Xindice API
version 1.1b4

Copyright (c) 1999-2004 The Apache Software Foundation. All Rights Reserved.