📄 iresourcelistener.java
字号:
package com.lightspeedleader.directorywatcher;
public interface IResourceListener {
/**
* Monitoring has just started on this new resource.
*
* @param monitoredResource the resource now being monitored.
*/
public void onStart(Object monitoredResource);
/**
* Monitoring has just ended on this new resource.
*
* @param notMonitoredResource the resource not being monitored anymore.
*/
public void onStop(Object notMonitoredResource);
/**
* Something has been added to this resource, or the resource itself has
* been added.
*
* @param newResource the new resource
*/
public void onAdd(Object newResource);
/**
* The resource has been changed.
*
* @param changedResource the changed resource
*/
public void onChange(Object changedResource);
/**
* Something has been added to this resource, or the resource itself has
* been added.
*
* @param deletedResource the deleted resource
*/
public void onDelete(Object deletedResource);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -