public class MonitorFile extends Object
| 构造器和说明 |
|---|
MonitorFile() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addMonitorFilePath(String path)
添加监听文件路径
|
void |
addMonitorFilePaths(List<String> filePaths)
添加监听文件路径
|
void |
create()
创建文件监听
|
static MonitorFile |
getInstance() |
public static MonitorFile getInstance()
public void addMonitorFilePath(String path)
path - 文件路径public void addMonitorFilePaths(List<String> filePaths)
filePaths - 文件路径Copyright © 2024. All rights reserved.