org.apache.nutch.util
Class WebPageWritable

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

public class WebPageWritable
extends Configured
implements Writable


Constructor Summary
WebPageWritable()
           
WebPageWritable(Configuration conf, WebPage webPage)
           
 
Method Summary
 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 © 2012 The Apache Software Foundation