public class OneFilePipeline extends FilePersistentBase implements Pipeline
| 限定符和类型 | 字段和说明 |
|---|---|
private org.slf4j.Logger |
logger |
private PrintWriter |
printWriter |
path, PATH_SEPERATOR| 构造器和说明 |
|---|
OneFilePipeline() |
OneFilePipeline(String path) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
process(ResultItems resultItems,
Task task) |
checkAndMakeParentDirecotry, getFile, getPath, setPathprivate org.slf4j.Logger logger
private PrintWriter printWriter
public OneFilePipeline()
throws FileNotFoundException,
UnsupportedEncodingException
public OneFilePipeline(String path) throws FileNotFoundException, UnsupportedEncodingException
public void process(ResultItems resultItems, Task task)
Copyright © 2021. All rights reserved.