|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for output plugins.
Method Summary | |
java.lang.Object |
begin()
Called as the first thing of doOutput(). |
java.lang.Object |
end()
Called as the last thing of doOutput(), just before it returns. |
Index |
getIndex()
Get the index we are doing output for. |
java.io.OutputStream |
getOutputStream()
Get the OutputStream for the OutputPlugin. |
WriterPlugin |
getWriterPlugin()
Get the writer plugin. |
OutputPlugin |
setWriterPlugin(WriterPlugin writer)
Set a writer plugin, to read input from the InputStream. |
long |
write(IndexItem item,
IndexProperties properties)
Do some output. |
Method Detail |
public Index getIndex()
public java.io.OutputStream getOutputStream()
public long write(IndexItem item, IndexProperties properties) throws java.io.IOException
item
- The IndexItem to putputproperties
- Some IndexProperties
java.io.IOException
public java.lang.Object begin() throws java.io.IOException
java.io.IOException
public java.lang.Object end() throws java.io.IOException
java.io.IOException
public OutputPlugin setWriterPlugin(WriterPlugin writer)
public WriterPlugin getWriterPlugin()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |