public class JsonFilePipeline extends FilePersistentBase implements Pipeline
path, PATH_SEPERATOR
Constructor and Description |
---|
JsonFilePipeline()
new JsonFilePageModelPipeline with default path "/data/webmagic/"
|
JsonFilePipeline(String path) |
Modifier and Type | Method and Description |
---|---|
void |
process(ResultItems resultItems,
Task task)
Process extracted results.
|
checkAndMakeParentDirecotry, getFile, getPath, setPath
public JsonFilePipeline()
public JsonFilePipeline(String path)
public void process(ResultItems resultItems, Task task)
Pipeline
Copyright © 2017. All rights reserved.