public class HadoopFSUtil extends Object
Constructor and Description |
---|
HadoopFSUtil() |
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.
|
public static PathFilter getPassAllFilter()
public static PathFilter getPassDirectoriesFilter(FileSystem fs)
public static Path[] getPaths(FileStatus[] stats)
Copyright © 2015 The Apache Software Foundation