Package org.javlo.thread
Class ReadURLThread
- java.lang.Object
-
- org.javlo.thread.AbstractThread
-
- org.javlo.thread.ReadURLThread
-
public class ReadURLThread extends AbstractThread
-
-
Field Summary
-
Fields inherited from class org.javlo.thread.AbstractThread
logger, needRunning, threadFileFilter
-
-
Constructor Summary
Constructors Constructor Description ReadURLThread()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
logInfo()
info for display in log.boolean
needRunning()
void
run()
void
setData(URL url, boolean readImage, long timeInMs)
-
Methods inherited from class org.javlo.thread.AbstractThread
createInstance, destroy, getField, getFileName, getId, getInstance, getNotificationService, getTimeout, setField, setId, setNotificationService, store
-
-
-
-
Method Detail
-
setData
public void setData(URL url, boolean readImage, long timeInMs)
-
needRunning
public boolean needRunning()
- Overrides:
needRunning
in classAbstractThread
-
run
public void run()
- Specified by:
run
in classAbstractThread
-
logInfo
public String logInfo()
Description copied from class:AbstractThread
info for display in log.- Overrides:
logInfo
in classAbstractThread
- Returns:
-
-