|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tranche.server.logs.LogReader
public class LogReader
Reads in a log file, iterating through entries
| Constructor Summary | |
|---|---|
LogReader(java.io.File log)
Create a log reader opening up a log file. |
|
| Method Summary | |
|---|---|
void |
close()
Close file that the log reader has opened. |
boolean |
hasNext()
Returns true if there is another log entry to read; otherwise false. |
LogEntry |
next()
Return the next log entry from the file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogReader(java.io.File log)
throws java.lang.Exception
log -
java.lang.Exception| Method Detail |
|---|
public boolean hasNext()
throws java.lang.Exception
java.lang.Exception
public LogEntry next()
throws java.lang.Exception
java.lang.Exception
public void close()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||