|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| FileListenerEvent.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 | /* | |
| 2 | * $Id: FileListenerEvent.java,v 1.2 2003/04/16 20:27:25 terrydye Exp $ | |
| 3 | * | |
| 4 | * FileListenerEvent.java | |
| 5 | * | |
| 6 | * Created on 26. Juni 2002, 12:01 | |
| 7 | */ | |
| 8 | ||
| 9 | package org.jconfig.event; | |
| 10 | ||
| 11 | import java.io.File; | |
| 12 | /** | |
| 13 | * The <code>FileListenerEvent</code> is the event that is delivered to | |
| 14 | * anyone who who implements the DirectoryListener interface. It is a simple | |
| 15 | * class to provide access to the File object when the File object changes. | |
| 16 | * | |
| 17 | * @author Terry R. Dye | |
| 18 | */ | |
| 19 | public class FileListenerEvent { | |
| 20 | ||
| 21 | private File file; | |
| 22 | ||
| 23 | /** | |
| 24 | * Creates a new instance of FileListenerEvent | |
| 25 | */ | |
| 26 | 0 | public FileListenerEvent(File file) { |
| 27 | 0 | this.file = file; |
| 28 | } | |
| 29 | ||
| 30 | /** | |
| 31 | * Return the File that triggered this event. | |
| 32 | */ | |
| 33 | 0 | public File getFile() { |
| 34 | 0 | return this.file; |
| 35 | } | |
| 36 | } | |
| 37 | ||
| 38 | /** | |
| 39 | * $Log: FileListenerEvent.java,v $ | |
| 40 | * Revision 1.2 2003/04/16 20:27:25 terrydye | |
| 41 | * merge from private cvs repository | |
| 42 | * | |
| 43 | * Revision 1.1 2002/06/26 16:12:43 Terry.Dye | |
| 44 | * Created | |
| 45 | * | |
| 46 | */ |
|
||||||||||