com.teamdev.filewatch
Class FileEvent.Moved

java.lang.Object
  extended by java.util.EventObject
      extended by com.teamdev.filewatch.FileEvent
          extended by com.teamdev.filewatch.FileEvent.Renamed
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.teamdev.filewatch.FileEvent
FileEvent.Added, FileEvent.Changed, FileEvent.Deleted, FileEvent.Moved, FileEvent.Renamed
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FileEvent.Moved(FileWatcher source, java.io.File newFile, java.io.File oldFile)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class com.teamdev.filewatch.FileEvent.Renamed
dispatch, getOldFile
 
Methods inherited from class com.teamdev.filewatch.FileEvent
getEventId, getFile, getNativeKind, setEventId
 
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
 

Constructor Detail

FileEvent.Moved

public FileEvent.Moved(FileWatcher source,
                       java.io.File newFile,
                       java.io.File oldFile)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class FileEvent.Renamed