| 修饰符和类型 | 类 | 说明 |
|---|---|---|
class |
FileMonitor.FileEntry |
| 修饰符和类型 | 方法 | 说明 |
|---|---|---|
void |
addFile(String path,
Thing thing,
File file) |
添加一个事物文件监控。
|
FileMonitor.FileEntry |
getFileEntry(String path) |
|
static FileMonitor |
getInstance() |
|
void |
run() |
|
void |
updateLastModified(FileMonitor.FileEntry entry,
long lastmodified) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, scheduledExecutionTimepublic static FileMonitor getInstance()
public void addFile(String path, Thing thing, File file)
path - 事物的路径thing - 事物file - 事物的文件public FileMonitor.FileEntry getFileEntry(String path)
public void updateLastModified(FileMonitor.FileEntry entry, long lastmodified)
Copyright © 2018 xworker.org. All rights reserved.