Class FileEvent
- java.lang.Object
-
- java.util.EventObject
-
- br.pucrio.tecgraf.soma.job.log.watcher.event.FileEvent
-
- All Implemented Interfaces:
Serializable
public class FileEvent extends EventObject
A file event with a reference to the file source, which triggered the event.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilegetSource()-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
FileEvent
public FileEvent(File file)
Constructs a prototypical Event.- Parameters:
file- the object on which the Event initially occurred- Throws:
IllegalArgumentException- if source is null
-
-
Method Detail
-
getSource
public File getSource()
- Overrides:
getSourcein classEventObject
-
-