Class OneFilePipeline
java.lang.Object
us.codecraft.webmagic.utils.FilePersistentBase
us.codecraft.webmagic.samples.pipeline.OneFilePipeline
- All Implemented Interfaces:
us.codecraft.webmagic.pipeline.Pipeline
public class OneFilePipeline
extends us.codecraft.webmagic.utils.FilePersistentBase
implements us.codecraft.webmagic.pipeline.Pipeline
- Author:
- code4crafer@gmail.com
-
Field Summary
Fields inherited from class us.codecraft.webmagic.utils.FilePersistentBase
path, PATH_SEPERATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(us.codecraft.webmagic.ResultItems resultItems, us.codecraft.webmagic.Task task) Methods inherited from class us.codecraft.webmagic.utils.FilePersistentBase
checkAndMakeParentDirecotry, getFile, getPath, setPath
-
Constructor Details
-
OneFilePipeline
-
OneFilePipeline
-
-
Method Details
-
process
public void process(us.codecraft.webmagic.ResultItems resultItems, us.codecraft.webmagic.Task task) - Specified by:
process
in interfaceus.codecraft.webmagic.pipeline.Pipeline
-