?? filefoundjmxnotification.java
字號(hào):
package org.sadun.util.polling;
import java.io.File;
import javax.management.ObjectName;
public class FileFoundJMXNotification extends BaseFileJMXNotification {
public static final String NOTIFICATION_TYPE = "org.sadun.polling.jmx.file.moved";
public FileFoundJMXNotification(ObjectName pollerName, SequenceNumberGenerator sqg,
BasePollerEvent evt) {
super(NOTIFICATION_TYPE, pollerName, sqg, evt);
}
/**
* See {@link FileFoundEvent#getFile()}.
*
* @return the same as {@link FileFoundEvent#getFile()}.
*/
public File getFile() { return ((FileFoundEvent)event).getFile(); }
/**
* See {@link BaseDirectoryEvent#getDirectory()}.
*
* @return the same as {@link BaseDirectoryEvent#getDirectory()}.
*/
public File getDirectory() { return ((FileFoundEvent)event).getDirectory(); }
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -