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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FetchEntry()`
    `FetchEntry(Configuration conf, String key, WebPage page)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 © 2015 The Apache Software Foundation