⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filelistenerevent.java

📁 jConfig,JAVA读取XML的开源项目
💻 JAVA
字号:
/*
 * $Id: FileListenerEvent.java,v 1.2 2003/04/16 20:27:25 terrydye Exp $
 *
 * FileListenerEvent.java
 *
 * Created on 26. Juni 2002, 12:01
 */

package org.jconfig.event;

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;

    /**
     * Creates a new instance of FileListenerEvent
     */
    public FileListenerEvent(File file) {
        this.file = file;
    }

    /**
     * Return the File that triggered this event.
     */
    public File getFile() {
        return this.file;
    }
}

/**
 * $Log: FileListenerEvent.java,v $
 * Revision 1.2  2003/04/16 20:27:25  terrydye
 * merge from private cvs repository
 *
 * Revision 1.1  2002/06/26 16:12:43  Terry.Dye
 * Created
 *
 */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -