org.apache.nutch.service.impl

## Class LinkReader

- java.lang.Object
- - org.apache.nutch.service.impl.LinkReader

- All Implemented Interfaces:
    NutchReader

      public class LinkReader
      extends java.lang.Object
      implements NutchReader

- - ### Field Summary

    - ### Fields inherited from interface org.apache.nutch.service.NutchReader

      `conf, LOG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LinkReader()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `count(java.lang.String path)`
    `java.util.List` | `head(java.lang.String path, int nrows)`
    `java.util.List` | `read(java.lang.String path)`
    `java.util.List` | `slice(java.lang.String path, int start, int end)`

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

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

- - ### Constructor Detail

    - #### LinkReader

          public LinkReader()

  - ### Method Detail

    - #### read

          public java.util.List read(java.lang.String path)
                              throws java.io.FileNotFoundException

      Specified by:
        `read` in interface `NutchReader`
      Throws:
        `java.io.FileNotFoundException`

    - #### head

          public java.util.List head(java.lang.String path,
                                     int nrows)
                              throws java.io.FileNotFoundException

      Specified by:
        `head` in interface `NutchReader`
      Throws:
        `java.io.FileNotFoundException`

    - #### slice

          public java.util.List slice(java.lang.String path,
                                      int start,
                                      int end)
                               throws java.io.FileNotFoundException

      Specified by:
        `slice` in interface `NutchReader`
      Throws:
        `java.io.FileNotFoundException`

    - #### count

          public int count(java.lang.String path)
                    throws java.io.FileNotFoundException

      Specified by:
        `count` in interface `NutchReader`
      Throws:
        `java.io.FileNotFoundException`

Copyright © 2019 The Apache Software Foundation