Class AbstractFileEventFunctions.AbstractFileWatcher
java.lang.Object
net.rubygrapefruit.platform.internal.jni.AbstractFileEventFunctions.AbstractFileWatcher
- All Implemented Interfaces:
Closeable,AutoCloseable,FileWatcher
- Enclosing class:
- AbstractFileEventFunctions
protected abstract static class AbstractFileEventFunctions.AbstractFileWatcher
extends Object
implements FileWatcher
-
Field Summary
Fields inherited from interface net.rubygrapefruit.platform.file.FileWatcher
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Stops watching and releases any native resources.protected abstract voidstop(Object details, FunctionResult result)
-
Constructor Details
-
AbstractFileWatcher
-
-
Method Details
-
close
public void close()Description copied from interface:FileWatcherStops watching and releases any native resources. No more calls to the associatedFileWatcherCallbackwill happen after this method returns.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceFileWatcher
-
stop
-