Class MultiPagePipeline

  • All Implemented Interfaces:
    Pipeline

    public class MultiPagePipeline
    extends java.lang.Object
    implements Pipeline
    A pipeline combines the result in more than one page together.
    Used for news and articles containing more than one web page.
    MultiPagePipeline will store parts of object and output them when all parts are extracted.
    Since:
    0.2.0
    Author:
    code4crafter@gmail.com
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void process​(ResultItems resultItems, Task task)
      Process extracted results.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MultiPagePipeline

        public MultiPagePipeline()
    • Method Detail

      • process

        public void process​(ResultItems resultItems,
                            Task task)
        Description copied from interface: Pipeline
        Process extracted results.
        Specified by:
        process in interface Pipeline
        Parameters:
        resultItems - resultItems
        task - task