001/*
002 * $Id: FileListenerEvent.java,v 1.1 2002/06/26 16:12:43 Terry.Dye Exp $
003 *
004 * FileListenerEvent.java
005 *
006 * Created on 26. Juni 2002, 12:01
007 */
008
009package org.jconfig.event;
010
011import java.io.File;
012/**
013 * The <code>FileListenerEvent</code> is the event that is delivered to
014 * anyone who who implements the DirectoryListener interface. It is a simple
015 * class to provide access to the File object when the File object changes.
016 *
017 * @author  Terry R. Dye
018 */
019public class FileListenerEvent {
020
021    private File file;
022
023    /**
024     * Creates a new instance of FileListenerEvent
025     */
026    public FileListenerEvent(File file) {
027        this.file = file;
028    }
029
030    /**
031     * Return the File that triggered this event.
032     */
033    public File getFile() {
034        return this.file;
035    }
036}
037
038/**
039 * $Log: FileListenerEvent.java,v $
040 * Revision 1.1  2002/06/26 16:12:43  Terry.Dye
041 * Created
042 *
043 */