Package org.opennms.core.fileutils
Class FileUpdateWatcher
- java.lang.Object
-
- org.opennms.core.fileutils.FileUpdateWatcher
-
public class FileUpdateWatcher extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FileUpdateWatcher(java.lang.String fileName, FileUpdateCallback fileUpdateCb)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> java.nio.file.WatchEvent<T>
cast(java.nio.file.WatchEvent<?> event)
void
destroy()
-
-
-
Constructor Detail
-
FileUpdateWatcher
public FileUpdateWatcher(java.lang.String fileName, FileUpdateCallback fileUpdateCb) throws java.io.IOException
- Throws:
java.io.IOException
-
-