|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DirectoryMonitorer
A DirectoryMonitorer
monitors a directory view for changes. Use this
when monitoring a directory that is modified by some external source. For
instance for monitoring a directory for incoming files.
Method Summary | |
---|---|
DirectoryView |
getDirectoryView()
Get the monitored directory view. |
long |
getTimestampOfLastEvent()
Get the timestamp when the last event was fired. |
void |
start()
Start the monitorer. |
void |
stop()
Stop the monitorer. |
Methods inherited from interface org.entityfs.event.Observable |
---|
addObserver, countObservers, deleteObserver, deleteObservers |
Method Detail |
---|
DirectoryView getDirectoryView()
long getTimestampOfLastEvent()
void start()
The start method resets the monitorer's internal state, so if it is stopped and then started, events occurring while it's stopped will never be reported.
void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |