|
Luky Library - 4.1.1 (20061117-1148) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectluky.events.MyEventManager
luky.linux.FileTail
public class FileTail
This class tails to a file and pass the contents to a manageble buffer
Revision Changes :

| Field Summary |
|---|
| Fields inherited from class luky.events.MyEventManager |
|---|
listenerList |
| Constructor Summary | |
|---|---|
FileTail(int maxSize,
String name)
Alternative constructor |
|
FileTail(String name)
default constructor |
|
| Method Summary | |
|---|---|
LinkedList |
getLines()
get lines, returns the last lines (maxSize) |
void |
run()
Start tailing the file |
void |
stop()
stop tailing the file |
| Methods inherited from class luky.events.MyEventManager |
|---|
addMyEventListener, fireMyEvent, removeMyEventListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileTail(String name)
name - the file to be tailed
public FileTail(int maxSize,
String name)
name - the file to be tailedmaxSize - number of lines kept online| Method Detail |
|---|
public void stop()
public LinkedList getLines()
public void run()
run in interface Runnable
|
Luky Library - 4.1.1 (20061117-1148) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||