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