org.apache.nutch.fetcher
Class FetcherOutput
java.lang.Object
org.apache.nutch.fetcher.FetcherOutput
- All Implemented Interfaces:
- Configurable, Writable
public final class FetcherOutput
- extends Object
- implements Writable, Configurable
FetcherOutput
public FetcherOutput()
FetcherOutput
public FetcherOutput(CrawlDatum crawlDatum,
Content content,
ParseImpl parse)
readFields
public final void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface Writable
- Throws:
IOException
write
public final void write(DataOutput out)
throws IOException
- Specified by:
write
in interface Writable
- Throws:
IOException
getCrawlDatum
public CrawlDatum getCrawlDatum()
getContent
public Content getContent()
getParse
public ParseImpl getParse()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
setConf
public void setConf(Configuration conf)
- Specified by:
setConf
in interface Configurable
getConf
public Configuration getConf()
- Specified by:
getConf
in interface Configurable
Copyright © 2006 The Apache Software Foundation