public interface FileManager
Modifier and Type | Method and Description |
---|---|
boolean |
addFile(String fileName,
String permission,
byte[] content)
Add a file to the file manager.
|
List<String> |
listFile()
List all the files in a file manager.
|
boolean |
removeFile(String fileName)
Remove a file.
|
boolean addFile(String fileName, String permission, byte[] content)
fileName
- filenamepermission
- permission stringcontent
- contentList<String> listFile()
boolean removeFile(String fileName)
fileName
- file nameCopyright © 2023. All Rights Reserved.