org.apache.nutch.pagedb
Class FetchListEntry
java.lang.Object
org.apache.nutch.pagedb.FetchListEntry
- All Implemented Interfaces:
- Cloneable, Writable
- public final class FetchListEntry
- extends Object
- implements Writable, Cloneable
DIR_NAME
public static final String DIR_NAME
- See Also:
- Constant Field Values
FetchListEntry
public FetchListEntry()
FetchListEntry
public FetchListEntry(boolean fetch,
Page page,
String[] anchors)
readFields
public final void readFields(DataInput in)
throws IOException
- Description copied from interface:
Writable
- Reads the fields of this object from
in
. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
- Specified by:
readFields
in interface Writable
- Throws:
IOException
read
public static FetchListEntry read(DataInput in)
throws IOException
- Throws:
IOException
write
public final void write(DataOutput out)
throws IOException
- Description copied from interface:
Writable
- Writes the fields of this object to
out
.
- Specified by:
write
in interface Writable
- Throws:
IOException
getFetch
public boolean getFetch()
getPage
public Page getPage()
getAnchors
public String[] getAnchors()
setAnchors
public void setAnchors(String[] anchors)
getUrl
public UTF8 getUrl()
equals
public boolean equals(Object o)
clone
public Object clone()
toString
public String toString()
main
public static void main(String[] argv)
throws Exception
- Throws:
Exception
Copyright © 2006 The Apache Software Foundation