public class FileEventMonitors
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
FileEventMonitors.Handle
A handle for a file event stream that can be cancelled using
FileEventMonitor.stopStream(com.swoval.files.apple.FileEventMonitors.Handle). |
static class |
FileEventMonitors.Handles
Provides an invalid handle that indicates that either registration of a stream was unsucessful
or the stream has been made redundant by a stream for a different path that covers the path for
which the stream was created.
|
| Modifier and Type | Method and Description |
|---|---|
static FileEventMonitor |
get(Consumer<FileEvent> eventConsumer,
Consumer<java.lang.String> streamConsumer) |
public static FileEventMonitor get(Consumer<FileEvent> eventConsumer, Consumer<java.lang.String> streamConsumer) throws java.lang.InterruptedException
java.lang.InterruptedException