Uses of Class
com.sure.tool.io.WatchOptions
Packages that use WatchOptions
-
Uses of WatchOptions in com.sure.tool.io
Methods in com.sure.tool.io that return WatchOptionsModifier and TypeMethodDescriptionWatchOptions.eventTypes(EventType... eventTypes) 监听的事件类型(默认 CREATE + MODIFY + DELETE)。WatchOptions.filter(PathFilter filter) 事件路径过滤器(默认不过滤)。WatchOptions.recursive(boolean recursive) 是否递归监听子目录(默认true;新目录创建后自动注册)。Methods in com.sure.tool.io with parameters of type WatchOptionsModifier and TypeMethodDescriptionstatic WatchDirWatchDir.watch(Path dir, DirListener listener, WatchOptions... options) 按选项监听目录。