org.apache.nutch.util

## Class WebPageWritable

- java.lang.Object
- - org.apache.hadoop.conf.Configured
  - - org.apache.nutch.util.WebPageWritable

- All Implemented Interfaces:
    Configurable, Writable

      public class WebPageWritable
      extends Configured
      implements Writable

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WebPageWritable()`
    `WebPageWritable(Configuration conf, WebPage webPage)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `WebPage` | `getWebPage()`
    `void` | `readFields(DataInput in)`
    `void` | `setWebPage(WebPage webPage)`
    `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, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WebPageWritable

          public WebPageWritable()

    - #### WebPageWritable

          public WebPageWritable(Configuration conf,
                         WebPage webPage)

  - ### 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`

    - #### getWebPage

          public WebPage getWebPage()

    - #### setWebPage

          public void setWebPage(WebPage webPage)

Copyright © 2015 The Apache Software Foundation