org.apache.nutch.parse
Class Outlink
java.lang.Object
org.apache.nutch.parse.Outlink
- All Implemented Interfaces:
- Writable
- public class Outlink
- extends Object
- implements Writable
Outlink
public Outlink()
Outlink
public Outlink(String toUrl,
String anchor)
throws MalformedURLException
readFields
public 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
skip
public static void skip(DataInput in)
throws IOException
- Skips over one Outlink in the input.
- Throws:
IOException
write
public 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
read
public static Outlink read(DataInput in)
throws IOException
- Throws:
IOException
getToUrl
public String getToUrl()
getAnchor
public String getAnchor()
equals
public boolean equals(Object o)
toString
public String toString()
Copyright © 2006 The Apache Software Foundation