public class JsonFilePageModelPipeline extends FilePersistentBase implements PageModelPipeline
path, PATH_SEPERATOR
Constructor and Description |
---|
JsonFilePageModelPipeline()
new JsonFilePageModelPipeline with default path "/data/webmagic/"
|
JsonFilePageModelPipeline(String path) |
Modifier and Type | Method and Description |
---|---|
void |
process(Object o,
Task task) |
checkAndMakeParentDirecotry, getFile, getPath, setPath
public JsonFilePageModelPipeline()
public JsonFilePageModelPipeline(String path)
public void process(Object o, Task task)
process
in interface PageModelPipeline
Copyright © 2017. All rights reserved.