|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectequip.net.LogFileEcho
a program to monitor and echo a file on the filesystem to stdout with additional timestamps, e.g. when the file lacks accurate timestamps, such as Orinico wifi client logs.
| Field Summary | |
static int |
BUFFER_SIZE
buffer size |
static int |
CHECK_INTERVAL_MS
file check interval ms |
| Constructor Summary | |
LogFileEcho(java.io.File file,
java.lang.String id)
monitor given file, echo with timestamps with given id as first item after timestamp on line. |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
main: usage: java equip.net.LogFileEcho filename id |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int CHECK_INTERVAL_MS
public static final int BUFFER_SIZE
| Constructor Detail |
public LogFileEcho(java.io.File file,
java.lang.String id)
throws java.io.IOException
| Method Detail |
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||