org.apache.nutch.util

## Class HadoopFSUtil

- java.lang.Object
- - org.apache.nutch.util.HadoopFSUtil

-     public class HadoopFSUtil
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HadoopFSUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static PathFilter` | `getPassAllFilter()` Returns PathFilter that passes all paths through.
    `static PathFilter` | `getPassDirectoriesFilter(FileSystem fs)` Returns PathFilter that passes directories through.
    `static Path[]` | `getPaths(FileStatus[] stats)` Turns an array of FileStatus into an array of Paths.

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

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

- - ### Constructor Detail

    - #### HadoopFSUtil

          public HadoopFSUtil()

  - ### Method Detail

    - #### getPassAllFilter

          public static PathFilter getPassAllFilter()

      Returns PathFilter that passes all paths through.

    - #### getPassDirectoriesFilter

          public static PathFilter getPassDirectoriesFilter(FileSystem fs)

      Returns PathFilter that passes directories through.

    - #### getPaths

          public static Path[] getPaths(FileStatus[] stats)

      Turns an array of FileStatus into an array of Paths.

Copyright © 2019 The Apache Software Foundation