Xindice API
version 1.1

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:
$Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $

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

Method Detail

read

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

write

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

Xindice API
version 1.1

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