public static class FSWatchUtil.Watcher extends Object
public Watcher(Path rootPath, String fileExtension, Consumer<Collection<Path>> action)
rootPath - directory to check for changesfileExtension - file extensions to take into accountaction - action to trigger on discovered changesCopyright © 2021 JBoss by Red Hat. All rights reserved.