Package com.mku.fs.drive.utils
Class FileCommander.BatchCopyOptions
- java.lang.Object
-
- com.mku.fs.drive.utils.FileCommander.BatchCopyOptions
-
- Enclosing class:
- FileCommander
public static class FileCommander.BatchCopyOptions extends java.lang.Object
Batch copy options
-
-
Field Summary
Fields Modifier and Type Field Description Function<IVirtualFile,java.lang.String>
autoRename
Callback when another file with the same name exists.boolean
autoRenameFolders
True to autorename foldersboolean
move
True to move, false to copyBiConsumer<IVirtualFile,java.lang.Exception>
onFailed
Callback when copy failsConsumer<FileCommander.VirtualFileTaskProgress>
onProgressChanged
Callback when progress changes.
-
Constructor Summary
Constructors Constructor Description BatchCopyOptions()
-
-
-
Field Detail
-
move
public boolean move
True to move, false to copy
-
autoRename
public Function<IVirtualFile,java.lang.String> autoRename
Callback when another file with the same name exists.
-
autoRenameFolders
public boolean autoRenameFolders
True to autorename folders
-
onFailed
public BiConsumer<IVirtualFile,java.lang.Exception> onFailed
Callback when copy fails
-
onProgressChanged
public Consumer<FileCommander.VirtualFileTaskProgress> onProgressChanged
Callback when progress changes.
-
-