public class BFileUtil extends Object
Constructor and Description |
---|
BFileUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
copy(Path sourcePath,
Path targetPath)
Copy a file or directory to a target location.
|
static void |
delete(Path path)
Delete a file or directory.
|
public static void copy(Path sourcePath, Path targetPath)
sourcePath
- File or directory to be copiedtargetPath
- Target locationpublic static void delete(Path path)
path
- Path to the file or directoryCopyright © 2018 WSO2. All rights reserved.