com.teamdev.filewatch
Class FileEvent.Moved
java.lang.Object
java.util.EventObject
com.teamdev.filewatch.FileEvent
com.teamdev.filewatch.FileEvent.Renamed
com.teamdev.filewatch.FileEvent.Moved
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- FileEvent
public static class FileEvent.Moved
- extends FileEvent.Renamed
Artificial event that represents add-delete event pair for the file reallocated from one folder to another.
This event is available only under Linux and MAC OS X operational systems. By default this event is not
reported and turned on by specifying the VM key -Dteamdev.jxfilewatcher.reportMoveEvents=true
Available since build 1.0.2.23951.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FileEvent.Moved
public FileEvent.Moved(FileWatcher source,
java.io.File newFile,
java.io.File oldFile)
toString
public java.lang.String toString()
- Overrides:
toString
in class FileEvent.Renamed