|
SMILA 1.0 API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.smila.importing.crawler.web.WebFetcherWorker
public class WebFetcherWorker
Fetches binary content from URL and stores the content as record attachment.
Constructor Summary | |
---|---|
WebFetcherWorker()
|
Method Summary | |
---|---|
java.lang.String |
getName()
|
void |
perform(TaskContext taskContext)
Performs a computation on the data available in the TaskContext , such as a task for this worker, input and
(if configured) output slots. |
void |
setFetcher(Fetcher fetcher)
DS service reference injection method. |
void |
unsetFetcher(Fetcher fetcher)
DS service reference removal method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebFetcherWorker()
Method Detail |
---|
public java.lang.String getName()
getName
in interface Worker
public void perform(TaskContext taskContext) throws java.lang.Exception
Worker
TaskContext
, such as a task for this worker, input and
(if configured) output slots. An implementor must make sure, calls to this method must be thread-safe!
perform
in interface Worker
taskContext
- the TaskContext information with which this operation can be performed.
java.lang.Exception
public void setFetcher(Fetcher fetcher)
public void unsetFetcher(Fetcher fetcher)
|
SMILA 1.0 API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |