public class OrfFilmDetailTask extends AbstractDocumentTask<DatenFilm,TopicUrlDTO>
crawler, taskResults| Constructor and Description |
|---|
OrfFilmDetailTask(MediathekReader aCrawler,
java.util.concurrent.ConcurrentLinkedQueue<TopicUrlDTO> aUrlToCrawlDTOs) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractUrlTask<DatenFilm,TopicUrlDTO> |
createNewOwnInstance(java.util.concurrent.ConcurrentLinkedQueue<TopicUrlDTO> aURLsToCrawl)
In this method you just have to create a new instance of yourself.
|
protected void |
processDocument(TopicUrlDTO aUrlDTO,
Document aDocument)
In this method you have to use the JSOUP
Document to create a
object of the return type T. |
processElementgetMaxElementsToProcesscomputeadapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, complete, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnforkpublic OrfFilmDetailTask(MediathekReader aCrawler, java.util.concurrent.ConcurrentLinkedQueue<TopicUrlDTO> aUrlToCrawlDTOs)
protected void processDocument(TopicUrlDTO aUrlDTO, Document aDocument)
AbstractDocumentTaskDocument to create a
object of the return type T. Add the results to
AbstractRecursivConverterTask.taskResults.processDocument in class AbstractDocumentTask<DatenFilm,TopicUrlDTO>aUrlDTO - A DTO containing at least the URL of the given document.aDocument - The JSOUP Document.protected AbstractUrlTask<DatenFilm,TopicUrlDTO> createNewOwnInstance(java.util.concurrent.ConcurrentLinkedQueue<TopicUrlDTO> aURLsToCrawl)
AbstractRecursivConverterTaskcreateNewOwnInstance in class AbstractRecursivConverterTask<DatenFilm,TopicUrlDTO>aURLsToCrawl - The ConcurrentLinkedQueue of D
the new instance should process.