Package com.facilita.fc.eggPlant
Class EggplantResultsFolderWatcher
- java.lang.Object
-
- com.facilita.fc.eggPlant.EggplantResultsFolderWatcher
-
- All Implemented Interfaces:
java.lang.Runnable
public class EggplantResultsFolderWatcher extends java.lang.Object implements java.lang.Runnable
Watches a directory, and detects when ePF creates any image files Image files created will be sent as a message via the attached IMessageSender
-
-
Constructor Summary
Constructors Constructor Description EggplantResultsFolderWatcher(java.io.File resultsDirectory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachImageSender(IImageSender imageSender)
void
run()
void
start()
void
stop()
-
-
-
Method Detail
-
attachImageSender
public void attachImageSender(IImageSender imageSender)
-
start
public void start()
-
stop
public void stop() throws java.lang.InterruptedException, java.io.IOException
- Throws:
java.lang.InterruptedException
java.io.IOException
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
-