org.apache.nutch.crawl

## Class Inlinks

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

- All Implemented Interfaces:
    Writable

      public class Inlinks
      extends java.lang.Object
      implements Writable

  A list of `Inlink`s.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Inlinks()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(Inlink inlink)`
    `void` | `add(Inlinks inlinks)`
    `void` | `clear()`
    `java.lang.String[]` | `getAnchors()` Return the set of anchor texts.
    `java.util.Iterator<Inlink>` | `iterator()`
    `void` | `readFields(java.io.DataInput in)`
    `int` | `size()`
    `java.lang.String` | `toString()`
    `void` | `write(java.io.DataOutput out)`

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

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

- - ### Constructor Detail

    - #### Inlinks

          public Inlinks()

  - ### Method Detail

    - #### add

          public void add(Inlink inlink)

    - #### add

          public void add(Inlinks inlinks)

    - #### iterator

          public java.util.Iterator<Inlink> iterator()

    - #### size

          public int size()

    - #### clear

          public void clear()

    - #### readFields

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

      Specified by:
        `readFields` in interface `Writable`
      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`

    - #### toString

          public java.lang.String toString()

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

    - #### getAnchors

          public java.lang.String[] getAnchors()

      Return the set of anchor texts. Only a single anchor with a given text is permitted from a given domain.

Copyright © 2019 The Apache Software Foundation