com.timeindexing.plugin
Interface WriterPlugin

All Known Implementing Classes:
DefaultWriter

public interface WriterPlugin

An interface for writer plugins.


Method Summary
 java.io.OutputStream getOutputStream()
          Get the OutputStream for the OutputPlugin.
 WriterPlugin setOutputStream(java.io.OutputStream out)
          Set the OutputStream for the OutputPlugin.
 long write(IndexItem item, IndexProperties properties)
           
 

Method Detail

getOutputStream

public java.io.OutputStream getOutputStream()
Get the OutputStream for the OutputPlugin.


setOutputStream

public WriterPlugin setOutputStream(java.io.OutputStream out)
Set the OutputStream for the OutputPlugin.


write

public long write(IndexItem item,
                  IndexProperties properties)
           throws java.io.IOException
Throws:
java.io.IOException