public class AlluxioJniRenameUtils extends Object
Modifier and Type | Field and Description |
---|---|
static int |
NO_FLAGS |
static int |
RENAME_EXCHANGE |
static int |
RENAME_NOREPLACE |
Constructor and Description |
---|
AlluxioJniRenameUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
exchange(int flag)
Checks if the rename flag contains RENAME_EXCHANGE flag.
|
static boolean |
noFlags(int flag)
Checks if the rename without flag.
|
static boolean |
noreplace(int flag)
Checks if the rename flag contains RENAME_NOREPLACE flag.
|
public static final int NO_FLAGS
public static final int RENAME_NOREPLACE
public static final int RENAME_EXCHANGE
public static boolean exchange(int flag)
flag
- the rename flag to checkpublic static boolean noreplace(int flag)
flag
- the rename flag to checkpublic static boolean noFlags(int flag)
flag
- the rename flag to checkCopyright © 2023. All Rights Reserved.