org.apache.nutch.fetcher
Class FetchEntry

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.nutch.fetcher.FetchEntry
All Implemented Interfaces:
Configurable, Writable

public class FetchEntry
extends Configured
implements Writable


Constructor Summary
FetchEntry()
           
FetchEntry(Configuration conf, String key, WebPage page)
           
 
Method Summary
 String getKey()
           
 WebPage getWebPage()
           
 void readFields(DataInput in)
           
 String toString()
           
 void write(DataOutput out)
           
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FetchEntry

public FetchEntry()

FetchEntry

public FetchEntry(Configuration conf,
                  String key,
                  WebPage page)
Method Detail

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