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