package org.jzonic.jlo.events;
import java.io.File;
/**
* The <code>FileListenerEvent</code> is the event that is delivered to
* anyone who who implements the DirectoryListener interface. It is a simple
* class to provide access to the File object when the File object changes.
*
* @author Terry R. Dye
*/
public class FileListenerEvent {
private File file;
private String configurationName;
/**
* Creates a new instance of FileListenerEvent
*/
public FileListenerEvent(File file,String configurationName) {
this.file = file;
this.configurationName = configurationName;
}
/**
* Return the File that triggered this event.
*/
public File getFile() {
return this.file;
}
/** Getter for property configurationName.
* @return Value of property configurationName.
*
*/
public String getConfigurationName() {
return configurationName;
}
/** Setter for property configurationName.
* @param configurationName New value of property configurationName.
*
*/
public void setConfigurationName(String configurationName) {
this.configurationName = configurationName;
}
}
|