Package org.oddjob.io

Class FileWatchEventSource

java.lang.Object
org.oddjob.io.FileWatchEventSource
All Implemented Interfaces:
EventSource<InstantEvent<Path>>

public class FileWatchEventSource extends Object implements EventSource<InstantEvent<Path>>
Author:
rob
See Also:

Description

Watch for a file and fire an event if/when it exists. A service such as FileWatchService is required to do the actual watching.

Example

See FileWatchService.