Added in API level 26
StandardCopyOption
class StandardCopyOption : CopyOption
kotlin.Any | ||
↳ | kotlin.Enum<java.nio.file.StandardCopyOption> | |
↳ | java.nio.file.StandardCopyOption |
Defines the standard copy options.
Summary
Enum values | |
---|---|
Move the file as an atomic file system operation. |
|
Copy attributes to the new file. |
|
Replace an existing file if it exists. |
Enum values
ATOMIC_MOVE
Added in API level 26
enum val ATOMIC_MOVE : StandardCopyOption
Move the file as an atomic file system operation.
COPY_ATTRIBUTES
Added in API level 26
enum val COPY_ATTRIBUTES : StandardCopyOption
Copy attributes to the new file.
REPLACE_EXISTING
Added in API level 26
enum val REPLACE_EXISTING : StandardCopyOption
Replace an existing file if it exists.