|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.anthonyeden.lib.resource.ResourceVFSMonitor
Monitors the given File for changes.
Constructor Summary | |
ResourceVFSMonitor(org.apache.commons.vfs.FileObject file,
int delay,
ResourceRecipient handler)
Construct a ResourceFileMonitor for the given file. |
Method Summary | |
void |
run()
The thread's run method. |
void |
startMonitor()
Start the monitoring thread. |
void |
stopMonitor()
Stop the monitoring thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResourceVFSMonitor(org.apache.commons.vfs.FileObject file, int delay, ResourceRecipient handler)
file
- The filedelay
- The delayhandler
- The handler
?Method Detail |
public void startMonitor()
startMonitor
in interface ResourceMonitor
public void stopMonitor()
stopMonitor
in interface ResourceMonitor
public void run()
startMonitor()
and stopMonitor()
methods should be used to start and stop
the monitor.
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |