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