org.apache.nutch.crawl

## Class Inlink

- java.lang.Object
- - org.apache.nutch.crawl.Inlink

- All Implemented Interfaces:
    Writable

      public class Inlink
      extends java.lang.Object
      implements Writable

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Inlink()`
    `Inlink(java.lang.String fromUrl, java.lang.String anchor)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object o)`
    `java.lang.String` | `getAnchor()`
    `java.lang.String` | `getFromUrl()`
    `int` | `hashCode()`
    `static Inlink` | `read(java.io.DataInput in)`
    `void` | `readFields(java.io.DataInput in)`
    `static void` | `skip(java.io.DataInput in)` Skips over one Inlink in the input.
    `java.lang.String` | `toString()`
    `void` | `write(java.io.DataOutput out)`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Inlink

          public Inlink()

    - #### Inlink

          public Inlink(java.lang.String fromUrl,
                        java.lang.String anchor)

  - ### Method Detail

    - #### readFields

          public void readFields(java.io.DataInput in)
                          throws java.io.IOException

      Specified by:
        `readFields` in interface `Writable`
      Throws:
        `java.io.IOException`

    - #### skip

          public static void skip(java.io.DataInput in)
                           throws java.io.IOException

      Skips over one Inlink in the input.
      Throws:
        `java.io.IOException`

    - #### write

          public void write(java.io.DataOutput out)
                     throws java.io.IOException

      Specified by:
        `write` in interface `Writable`
      Throws:
        `java.io.IOException`

    - #### read

          public static Inlink read(java.io.DataInput in)
                             throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### getFromUrl

          public java.lang.String getFromUrl()

    - #### getAnchor

          public java.lang.String getAnchor()

    - #### equals

          public boolean equals(java.lang.Object o)

      Overrides:
        `equals` in class `java.lang.Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Copyright © 2019 The Apache Software Foundation