/** * Copy constructor * * @param o */ public WarcHTMLResponseRecord(WarcHTMLResponseRecord o) { this.warcRecord.set(o.warcRecord); createPatternSet(); }
/** * Default constructor */ public WarcHTMLResponseRecord() { createPatternSet(); }
public void write(DataOutput out) throws IOException { if (record != null) { record.write(out); } }
/** * Constructor creation from a generic WARC record * * @param o */ public WarcHTMLResponseRecord(WarcRecord o) { if (o.getHeaderRecordType().compareToIgnoreCase("response") == 0) { this.warcRecord.set(o); } createPatternSet(); }
public void set(WarcRecord o) { this.warcHeader = new WarcHeader(o.warcHeader); this.warcContent = o.warcContent; }
public void readFields(DataInput in) throws IOException { if (record!=null) { record.readFields(in); } }
/** * Just return the record reader */ public RecordReader getRecordReader(InputSplit split, JobConf conf, Reporter reporter) throws IOException { return new WarcFileRecordReader(conf, split); } }
/** * Constructor creation from a generic WARC record * @param o */ public WarcHTMLResponseRecord(WarcRecord o) { if (o.getHeaderRecordType().compareToIgnoreCase("response")==0) { this.warcRecord.set(o); } createPatternSet(); }
public WarcRecord(WarcRecord o) { this.warcHeader = new WarcHeader(o.warcHeader); this.warcContent = o.warcContent; }
/** * Copy constructor * @param o */ public WarcHTMLResponseRecord(WarcHTMLResponseRecord o) { this.warcRecord.set(o.warcRecord); createPatternSet(); }
public void write(DataOutput out) throws IOException { if (record!=null) { record.write(out); } }
public void readFields(DataInput in) throws IOException { if (record != null) { record.readFields(in); } }
/** * Just return the record reader */ public RecordReader getRecordReader(InputSplit split, JobConf conf, Reporter reporter) throws IOException { return new WarcFileRecordReader(conf, split); } }
/** * Default constructor */ public WarcHTMLResponseRecord() { createPatternSet(); }
public WarcRecord(WarcRecord o) { this.warcHeader=new WarcHeader(o.warcHeader); this.warcContent=o.warcContent; }
public void write(DataOutput out) throws IOException { if (record!=null) { record.write(out); } }
public void readFields(DataInput in) throws IOException { if (record!=null) { record.readFields(in); } }
/** * Just return the record reader */ public RecordReader getRecordReader(InputSplit split, JobConf conf, Reporter reporter) throws IOException { return new WarcFileRecordReader(conf, split); } }
public void set(WarcRecord o) { this.warcHeader=new WarcHeader(o.warcHeader); this.warcContent=o.warcContent; }
public void set(WarcRecord o) { this.warcHeader=new WarcHeader(o.warcHeader); this.warcContent=o.warcContent; }