public class FileChangeDetector extends Object
构造器和说明 |
---|
FileChangeDetector(String dirPath) |
限定符和类型 | 方法和说明 |
---|---|
static Path |
getDestPath(Path src,
Environment env) |
void |
processEvent(BiConsumer<WatchEvent.Kind<Path>,Path> processor) |
public FileChangeDetector(String dirPath) throws IOException
IOException
public void processEvent(BiConsumer<WatchEvent.Kind<Path>,Path> processor)
public static Path getDestPath(Path src, Environment env)
Copyright © 2018. All rights reserved.