|
|||||||||
| 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.Selecter
public class Selecter
Display a selection of TimeIndex to an OutputStream given the Index filename.
| Field Summary |
|---|
| Fields inherited from class com.timeindexing.event.OutputEventGenerator |
|---|
outputListenerList |
| Constructor Summary | |
|---|---|
Selecter(java.lang.String filename)
Construct a Selecter object, with output to System.out. |
|
Selecter(java.lang.String filename,
java.io.OutputStream out)
Construct a Selecter object. |
|
| Method Summary | |
|---|---|
void |
addOutputEventListener(OutputEventListener l)
Add a OutputEventListener. |
void |
addPrimaryEventListener(IndexPrimaryEventListener l)
Add a IndexPrimaryEventListener. |
void |
close()
Close |
long |
getBytesOutput()
Get the number of bytes output. |
protected void |
open()
Open |
protected void |
output(IndexProperties selectionProperties)
Do the output |
void |
outputNotification(OutputEvent oe)
Receive OutputEvents from the SelectionStreamer and pass then to all the Listeners this has. |
void |
removePrimaryEventListener(IndexPrimaryEventListener l)
Remove a IndexPrimaryEventListener. |
Selecter |
select(IndexProperties selectionProperties)
Display the output. |
| Methods inherited from class com.timeindexing.event.OutputEventGenerator |
|---|
fireOutputEvent, getOutputEventListeners, hasOutputEventListeners, removeOutputEventListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Selecter(java.lang.String filename)
public Selecter(java.lang.String filename,
java.io.OutputStream out)
| Method Detail |
|---|
public Selecter select(IndexProperties selectionProperties)
throws java.io.IOException,
TimeIndexException
java.io.IOException
TimeIndexException
protected void open()
throws TimeIndexException
TimeIndexException
protected void output(IndexProperties selectionProperties)
throws java.io.IOException,
TimeIndexException
java.io.IOException
TimeIndexException
public void close()
throws TimeIndexException
TimeIndexExceptionpublic long getBytesOutput()
public void addOutputEventListener(OutputEventListener l)
addOutputEventListener in class OutputEventGeneratorpublic void outputNotification(OutputEvent oe)
outputNotification in interface OutputEventListenerpublic void addPrimaryEventListener(IndexPrimaryEventListener l)
public void removePrimaryEventListener(IndexPrimaryEventListener l)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||