DLESE Tools
v1.2

org.dlese.dpc.util
Class FileDirectoryEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.dlese.dpc.util.FileDirectoryEvent
All Implemented Interfaces:
Serializable

public class FileDirectoryEvent
extends EventObject

Indicates that files in a file-based directory changed.

Version:
1.0, 9/30/02
Author:
Dave Deniman
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FileDirectoryEvent(FileDirectoryMonitor monitor)
          Contruct a FileDirectoryEvent
 
Method Summary
 List addedFiles()
          Listeners retrieve each list of files associated with this event
 List removedFiles()
          Listeners retrieve each list of files associated with this event
 void setFileLists(List addedFiles, List removedFiles)
          Event sources must set these lists before firing the event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileDirectoryEvent

public FileDirectoryEvent(FileDirectoryMonitor monitor)
Contruct a FileDirectoryEvent

Parameters:
monitor - The object source of the event
Method Detail

setFileLists

public void setFileLists(List addedFiles,
                         List removedFiles)
Event sources must set these lists before firing the event.

Parameters:
addedFiles - The list of files added
removedFiles - The list of files removed

addedFiles

public List addedFiles()
Listeners retrieve each list of files associated with this event

Returns:
List of added files

removedFiles

public List removedFiles()
Listeners retrieve each list of files associated with this event

Returns:
List of removed files

DLESE Tools
v1.2