|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.teamdev.filewatch.FileWatcher
com.teamdev.filewatch.mac.KEventWatcher
public class KEventWatcher
Provides KQueue API functionality for monitoring file system events on MacOS X platforms.
| Field Summary | |
|---|---|
protected org.slf4j.Logger |
log
|
| Fields inherited from class com.teamdev.filewatch.FileWatcher |
|---|
FAKE_RENAMES_OPTION, MOVE_EVENTS_OPTION, WATCHING_FOLDER_REMOVED |
| Constructor Summary | |
|---|---|
KEventWatcher(java.io.File folder)
|
|
| Method Summary | |
|---|---|
protected java.util.List<FileEvent> |
readEvents()
Reads next portion of file system events. |
protected void |
release()
Perfom release native resources. |
protected void |
startWatching()
Perfom start of the watching process. |
protected void |
stopWatching()
Perfom stop of the watching process. |
| Methods inherited from class com.teamdev.filewatch.FileWatcher |
|---|
accept, addFileEventsListener, addListener, addListener, addWatcherListener, create, getFilter, getFolder, getOptions, isRunning, removeFileEventsListener, removeListener, removeListener, removeWatcherListener, resetOptions, setFilter, setOptions, setOptions, setRunning, setRunning, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.slf4j.Logger log
| Constructor Detail |
|---|
public KEventWatcher(java.io.File folder)
| Method Detail |
|---|
protected void startWatching()
startWatching in class FileWatcherprotected void stopWatching()
stopWatching in class FileWatcherprotected void release()
release in class FileWatcherprotected java.util.List<FileEvent> readEvents()
readEvents in class FileWatcher
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||