org.apache.nutch.fetcher
Class FetchEntry
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.nutch.fetcher.FetchEntry
- All Implemented Interfaces:
- Configurable, Writable
public class FetchEntry
- extends Configured
- implements Writable
FetchEntry
public FetchEntry()
FetchEntry
public FetchEntry(Configuration conf,
String key,
WebPage page)
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface Writable
- Throws:
IOException
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface Writable
- Throws:
IOException
getKey
public String getKey()
getWebPage
public WebPage getWebPage()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 The Apache Software Foundation