org.apache.commons.io.find
Class FindEvent
java.lang.Object
org.apache.commons.io.find.FindEvent
- public class FindEvent
- extends java.lang.Object
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.
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
directory
private java.io.File directory
finder
private Finder finder
file
private java.io.File file
files
private java.io.File[] files
type
private java.lang.String type
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()