Example usage for org.apache.hadoop.hdfs.web.resources RecursiveParam RecursiveParam

List of usage examples for org.apache.hadoop.hdfs.web.resources RecursiveParam RecursiveParam

Introduction

In this page you can find the example usage for org.apache.hadoop.hdfs.web.resources RecursiveParam RecursiveParam.

Prototype

public RecursiveParam(final String str) 

Source Link

Document

Constructor.

Usage

From source file:com.bigstep.datalake.DLFileSystem.java

License:Apache License

@Override
public boolean delete(Path f, boolean recursive) throws IOException {
    final HttpOpParam.Op op = DeleteOpParam.Op.DELETE;
    return new FsPathBooleanRunner(op, f, new RecursiveParam(recursive)).run();
}