|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.timeindexing.plugin.DefaultWriter
An default writer plugin. Takes an IndexItem and writes the bytes to the output stream.
| Constructor Summary | |
DefaultWriter()
|
|
| Method Summary | |
java.io.OutputStream |
getOutputStream()
Get the OutputStream for the OutputPlugin. |
WriterPlugin |
setOutputStream(java.io.OutputStream outStream)
Set the OutputStream for the OutputPlugin. |
long |
write(IndexItem item,
IndexProperties outputProperties)
Output properties include: "eolmark" -> � "newline" -> \n |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultWriter()
| Method Detail |
public long write(IndexItem item,
IndexProperties outputProperties)
throws java.io.IOException
write in interface WriterPluginjava.io.IOExceptionpublic java.io.OutputStream getOutputStream()
getOutputStream in interface WriterPluginpublic WriterPlugin setOutputStream(java.io.OutputStream outStream)
setOutputStream in interface WriterPlugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||