| 程序包 | 说明 |
|---|---|
| cn.hutool.core.io.watch |
基于JDK7+ WatchService的文件和目录监听封装,支持多级目录
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
WatchServer.watch(WatchAction action,
Filter<WatchEvent<?>> watchFilter)
执行事件获取并处理
|
void |
WatchServer.watch(WatchAction action,
Filter<WatchEvent<?>> watchFilter)
执行事件获取并处理
|
Copyright © 2022. All rights reserved.