change file dir

pull/17/head
yihua.huang 12 years ago
parent a2d830f7b0
commit e5f4b3916f

@ -20,12 +20,12 @@ import java.util.Map;
*/ */
public class FilePipeline implements Pipeline { public class FilePipeline implements Pipeline {
private String path = "/data/temp/webmagic/"; private String path = "/data/webmagic/";
private Logger logger = Logger.getLogger(getClass()); private Logger logger = Logger.getLogger(getClass());
/** /**
* FilePipeline使"/data/temp/webmagic/" * FilePipeline使"/data/webmagic/"
*/ */
public FilePipeline() { public FilePipeline() {

@ -20,12 +20,12 @@ import java.io.PrintWriter;
*/ */
public class JsonFilePipeline implements Pipeline { public class JsonFilePipeline implements Pipeline {
private String path = "/data/temp/webmagic/"; private String path = "/data/webmagic/";
private Logger logger = Logger.getLogger(getClass()); private Logger logger = Logger.getLogger(getClass());
/** /**
* FilePipeline使"/data/temp/webmagic/" * FilePipeline使"/data/webmagic/"
*/ */
public JsonFilePipeline() { public JsonFilePipeline() {

Loading…
Cancel
Save