All Downloads are FREE. Search and download functionalities are using the official Maven repository.

us.codecraft.webmagic.pipeline.Pipeline Maven / Gradle / Ivy

The newest version!
package us.codecraft.webmagic.pipeline;

import us.codecraft.webmagic.ResultItems;
import us.codecraft.webmagic.Task;

/**
 * Pipeline is the persistent and offline process part of crawler.
* The interface Pipeline can be implemented to customize ways of persistent. * * @author [email protected]
* @since 0.1.0 * @see ConsolePipeline * @see FilePipeline */ public interface Pipeline { /** * Process extracted results. * * @param resultItems resultItems * @param task task */ public void process(ResultItems resultItems, Task task); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy