mixinafExplorer::Explorer
afExplorer::Explorer
(Service) - The main service API for Explorer operations.
- compressToGz
- compressToZip
- copy
- cut
- delete
- fileToIcon
- newFile
abstract File? newFile(File containingFolder, Str? defFileName := null)
Opens a dialogue for the file name before creating an empty file. File name defaults to
NewFile.txt
.Returns
null
if dialogue was cancelled.- newFolder
abstract Void newFolder(File containingFolder, Str? defFolderName := null)
Opens a dialogue for the folder name before creating an empty folder. Folder name defaults to
NewFolder
.- openFileInSystem
- osRoots
abstract File[] osRoots()
Returns a cached version of
File.osRoots
that is updated every other second at most.- paste
- preferences
abstract ExplorerPrefs preferences()
- rename
- uniqueFile
abstract File uniqueFile(File destFile)
Returns a unique file that (currently) does not exist on the file system.
- urlToIcon