com.timeindexing.appl
Class Displayer

java.lang.Object
  extended bycom.timeindexing.appl.Displayer

public class Displayer
extends java.lang.Object

Display a whole TimeIndex to an OutputStream


Constructor Summary
Displayer(java.lang.String filename)
          Construct a Displayer object, with output to System.out.
Displayer(java.lang.String filename, java.io.OutputStream out)
          Construct a Displayer object.
 
Method Summary
protected  void close()
          Close
 Displayer display(boolean withNLs)
          Display the output.
protected  void open()
          Open
protected  void output(boolean withNLs)
          Do the output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Displayer

public Displayer(java.lang.String filename)
Construct a Displayer object, with output to System.out.


Displayer

public Displayer(java.lang.String filename,
                 java.io.OutputStream out)
Construct a Displayer object.

Method Detail

display

public Displayer display(boolean withNLs)
                  throws java.io.IOException,
                         TimeIndexException
Display the output.

Throws:
java.io.IOException
TimeIndexException

open

protected void open()
             throws TimeIndexException
Open

Throws:
TimeIndexException

output

protected void output(boolean withNLs)
               throws java.io.IOException,
                      TimeIndexException
Do the output

Throws:
java.io.IOException
TimeIndexException

close

protected void close()
              throws TimeIndexException
Close

Throws:
TimeIndexException