Search in sources :

Example 1 with GlobPattern

use of org.apache.hadoop.fs.GlobPattern in project hadoop by apache.

the class Name method prepare.

@Override
public void prepare() throws IOException {
    String argPattern = getArgument(1);
    if (!caseSensitive) {
        argPattern = StringUtils.toLowerCase(argPattern);
    }
    globPattern = new GlobPattern(argPattern);
}
Also used : GlobPattern(org.apache.hadoop.fs.GlobPattern)

Aggregations

GlobPattern (org.apache.hadoop.fs.GlobPattern)1