|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.addressbook.Log
class Log
A simple log with automatic time stamping.
Constructor Summary | |
---|---|
Log(File file)
Construct a Log instance that writes to the File file. |
Method Summary | |
---|---|
void |
append(String entry)
Write entry to a new line in the log, with appropriate time stamp. |
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(File file)
file
- A File for the log to write to.Method Detail |
---|
public void append(String entry)
entry
- A String containing a message to append to the log.public File getFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |