org.apache.commons.finder
Class FindEvent
java.lang.Object
java.util.EventObject
org.apache.commons.finder.FindEvent
- All Implemented Interfaces:
- java.io.Serializable
public class FindEvent
- extends java.util.EventObject
Event upon which notification is made to a FindListener.
It contains references to the Finder and the Directory in which
the event occured.
Depending on the particular occasion, it may also contain
a set of files or a file.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
FindEvent(Finder finder,
java.lang.String type,
java.io.File directory)
|
FindEvent(Finder finder,
java.lang.String type,
java.io.File directory,
java.io.File file)
|
FindEvent(Finder finder,
java.lang.String type,
java.io.File directory,
java.io.File[] files)
|
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 |
FindEvent
public FindEvent(Finder finder,
java.lang.String type,
java.io.File directory)
FindEvent
public FindEvent(Finder finder,
java.lang.String type,
java.io.File directory,
java.io.File file)
FindEvent
public FindEvent(Finder finder,
java.lang.String type,
java.io.File directory,
java.io.File[] files)
getDirectory
public java.io.File getDirectory()
getFinder
public Finder getFinder()
getFile
public java.io.File getFile()
- File found.
getFiles
public java.io.File[] getFiles()
- Files found in a directory.
getType
public java.lang.String getType()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.EventObject
Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.