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