|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.timeindexing.event.OutputEventGenerator
com.timeindexing.appl.OutputStreamer
public class OutputStreamer
A class to output any data
| Field Summary | |
|---|---|
protected Index |
index
|
protected java.io.OutputStream |
out
|
protected OutputPlugin |
outputPlugin
|
protected IndexProperties |
outputProperties
|
protected long |
writeCount
|
| Fields inherited from class com.timeindexing.event.OutputEventGenerator |
|---|
outputListenerList |
| Constructor Summary | |
|---|---|
OutputStreamer(Index anIndex,
java.io.OutputStream output)
Construct an OutputStreamer object given an index and an output stream. |
|
OutputStreamer(Index anIndex,
java.io.OutputStream output,
OutputPlugin plugin)
Construct an OutputStreamer object given an index and an output stream and an OutputPlugin. |
|
| Method Summary | |
|---|---|
long |
doOutput(IndexProperties properties)
Do some output, given some IndexProperties. |
protected IndexItem |
fetchIndexItem(long pos,
Index index)
Fetch a single item from an Index, ready for outputting. |
OutputPlugin |
getOutputPlugin()
Get the output plugin. |
long |
processTimeIndex(IndexView index)
Process the TimeIndex |
OutputStreamer |
setOutputPlugin(OutputPlugin plugin)
Set an output plugin, to write to output. |
| Methods inherited from class com.timeindexing.event.OutputEventGenerator |
|---|
addOutputEventListener, fireOutputEvent, getOutputEventListeners, hasOutputEventListeners, removeOutputEventListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Index index
protected java.io.OutputStream out
protected long writeCount
protected OutputPlugin outputPlugin
protected IndexProperties outputProperties
| Constructor Detail |
|---|
public OutputStreamer(Index anIndex,
java.io.OutputStream output)
public OutputStreamer(Index anIndex,
java.io.OutputStream output,
OutputPlugin plugin)
| Method Detail |
|---|
public long doOutput(IndexProperties properties)
throws java.io.IOException,
TimeIndexException
java.io.IOException
TimeIndexException
public long processTimeIndex(IndexView index)
throws java.io.IOException,
TimeIndexException
java.io.IOException
TimeIndexExceptionpublic OutputStreamer setOutputPlugin(OutputPlugin plugin)
public OutputPlugin getOutputPlugin()
protected IndexItem fetchIndexItem(long pos,
Index index)
throws java.io.IOException,
TimeIndexException
java.io.IOException
TimeIndexException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||