org.apache.nutch.util
Class HadoopFSUtil
java.lang.Object
org.apache.nutch.util.HadoopFSUtil
public class HadoopFSUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HadoopFSUtil
public HadoopFSUtil()
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 © 2006 The Apache Software Foundation