|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.addressbook.Log
public class Log
A simple log with automatic time stamping.
Constructor Summary | |
---|---|
Log(java.io.File file)
Construct a Log instance that writes to the File file. |
Method Summary | |
---|---|
void |
append(java.lang.String entry)
Write entry to a new line in the log, with appropriate time stamp. |
java.io.File |
getFile()
Return the File that the Log is writing to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Log(java.io.File file)
file
- A File for the log to write to.Method Detail |
---|
public void append(java.lang.String entry)
entry
- A String containing a message to append to the log.public java.io.File getFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |