Package org.javlo.component.links
Class SmartExternalLink.UndateInfo
- java.lang.Object
-
- org.javlo.thread.AbstractThread
-
- org.javlo.component.links.SmartExternalLink.UndateInfo
-
- Enclosing class:
- SmartExternalLink
public static class SmartExternalLink.UndateInfo extends AbstractThread
-
-
Field Summary
-
Fields inherited from class org.javlo.thread.AbstractThread
logger, needRunning, threadFileFilter
-
-
Constructor Summary
Constructors Constructor Description UndateInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCacheFodler()
String
getDataFolder()
String
getForceImageURL()
File
getPropFile()
long
getTimeout()
get the timeout, after this time thread is killed by thread manager.String
getTitle()
String
getURL()
protected boolean
isContentValid(String pageContent)
Boolean
isValidConnection()
String
logInfo()
info for display in log.boolean
mustBeRemoved()
void
run()
void
setCacheFolder(String url)
void
setDataFolder(String folder)
void
setDescription(String desc)
void
setForceImageURL(String url)
void
setImageCRC32(long mustBeRemoved)
void
setImageURI(String uri)
void
setLinkValid(boolean visible)
void
setMustBeRemoved(boolean mustBeRemoved)
void
setPropFile(File propFile)
void
setTitle(String title)
void
setURL(String url)
void
setValidConnection(boolean title)
void
storeViewData()
-
Methods inherited from class org.javlo.thread.AbstractThread
createInstance, destroy, getField, getFileName, getId, getInstance, getNotificationService, needRunning, setField, setId, setNotificationService, store
-
-
-
-
Method Detail
-
getCacheFodler
public String getCacheFodler()
-
getDataFolder
public String getDataFolder()
-
getForceImageURL
public String getForceImageURL()
-
getPropFile
public File getPropFile()
-
getTimeout
public long getTimeout()
Description copied from class:AbstractThread
get the timeout, after this time thread is killed by thread manager.- Overrides:
getTimeout
in classAbstractThread
- Returns:
- timeout in ms
-
getTitle
public String getTitle()
-
getURL
public String getURL()
-
isContentValid
protected boolean isContentValid(String pageContent)
-
isValidConnection
public Boolean isValidConnection()
-
logInfo
public String logInfo()
Description copied from class:AbstractThread
info for display in log.- Overrides:
logInfo
in classAbstractThread
- Returns:
-
mustBeRemoved
public boolean mustBeRemoved()
-
run
public void run()
- Specified by:
run
in classAbstractThread
-
setCacheFolder
public void setCacheFolder(String url)
-
setDataFolder
public void setDataFolder(String folder)
-
setDescription
public void setDescription(String desc)
-
setForceImageURL
public void setForceImageURL(String url)
-
setImageCRC32
public void setImageCRC32(long mustBeRemoved)
-
setImageURI
public void setImageURI(String uri)
-
setLinkValid
public void setLinkValid(boolean visible)
-
setMustBeRemoved
public void setMustBeRemoved(boolean mustBeRemoved)
-
setPropFile
public void setPropFile(File propFile)
-
setTitle
public void setTitle(String title)
-
setURL
public void setURL(String url)
-
setValidConnection
public void setValidConnection(boolean title)
-
storeViewData
public void storeViewData() throws IOException
- Throws:
IOException
-
-