|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sam.event.FileEvent
Event concerning file.
Field Summary | |
sam.entry.Entry |
entry
The Entry concerned by this event |
java.lang.String |
message
A message describing this event in a human-readable format |
Constructor Summary | |
FileEvent(sam.entry.Entry entry,
java.lang.String message)
|
Method Summary | |
java.lang.String |
path()
Gets the relative path of the file concerned by this event. |
void |
printTo(java.io.PrintWriter output)
Prints this event onto specified Writer |
java.lang.String |
toString()
Gets a standardized representation of this event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public final sam.entry.Entry entry
Entry
concerned by this event
public final java.lang.String message
Constructor Detail |
public FileEvent(sam.entry.Entry entry, java.lang.String message)
Method Detail |
public java.lang.String path()
Entry
i.e. the "/"
which might differ from the java.io.File.separator
especially under Win32
.
sam.entry.Entry.name
public java.lang.String toString()
"myDir/myDir/myFile: here is the message"
toString
in class java.lang.Object
public void printTo(java.io.PrintWriter output)
Writer
toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |