FileSystemAccess.FileSystemExecutor<org.json.simple.JSONObject>@Private public static class FSOperations.FSMkdirs extends java.lang.Object implements FileSystemAccess.FileSystemExecutor<org.json.simple.JSONObject>
| Constructor | Description |
|---|---|
FSMkdirs(java.lang.String path,
short permission,
short unmaskedPermission) |
Creates a mkdirs executor.
|
| Modifier and Type | Method | Description |
|---|---|---|
org.json.simple.JSONObject |
execute(org.apache.hadoop.fs.FileSystem fs) |
Executes the filesystem operation.
|
public FSMkdirs(java.lang.String path,
short permission,
short unmaskedPermission)
path - directory path to create.permission - permission to use.unmaskedPermission - unmasked permissions for the directorypublic org.json.simple.JSONObject execute(org.apache.hadoop.fs.FileSystem fs)
throws java.io.IOException
execute in interface FileSystemAccess.FileSystemExecutor<org.json.simple.JSONObject>fs - filesystem instance to use.true if the mkdirs operation was successful,
false otherwise.java.io.IOException - thrown if an IO error occurred.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.