org.radrails.rails.internal.ui.tail
Class Tail

java.lang.Object
  extended byorg.radrails.rails.internal.ui.tail.Tail

public class Tail
extends java.lang.Object

Acts similar to the UNIX 'tail' command which allows watching a file update in real time.

Version:
0.5.0
Author:
mbaumbach

Constructor Summary
Tail(java.io.File filename)
          Creates a new Tail object for the specified filename.
 
Method Summary
 boolean isStopped()
           
 void start(java.io.OutputStream out)
          Prints out the file's contents in real time.
 void stop()
          Stops the tail program.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tail

public Tail(java.io.File filename)
Creates a new Tail object for the specified filename.

Parameters:
filename - The File to tail.
Method Detail

start

public void start(java.io.OutputStream out)
Prints out the file's contents in real time.


stop

public void stop()
Stops the tail program.


isStopped

public boolean isStopped()