mixinafExplorer::Explorer

afExplorer::Explorer

(Service) - The main service API for Explorer operations.

compressToGz

Source

abstract Void compressToGz(File toCompress)

compressToZip

Source

abstract Void compressToZip(File toCompress, File dst)

copy

Source

abstract Void copy(File file)

cut

Source

abstract Void cut(File file)

delete

Source

abstract Void delete(File file)

fileToIcon

Source

abstract Image fileToIcon(File f)

newFile

Source

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

Source

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

Source

abstract Void openFileInSystem(File file)

osRoots

Source

abstract File[] osRoots()

Returns a cached version of File.osRoots that is updated every other second at most.

paste

Source

abstract Void paste(File destDir)

preferences

Source

abstract ExplorerPrefs preferences()

rename

Source

abstract File rename(File file)

uniqueFile

Source

abstract File uniqueFile(File destFile)

Returns a unique file that (currently) does not exist on the file system.

urlToIcon

Source

abstract Image urlToIcon(Uri url)