Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class DefaultTemporaryFileclass SingletonTemporaryFile
Members list
Value members
Concrete methods
Attempts to move source to target atomically and falls back to a non-atomic move if it fails.
Attempts to move source to target atomically and falls back to a non-atomic move if it fails.
This always tries to replace existent files. Since it is platform dependent if atomic moves replaces existent files or not, considering that it will always replaces, makes the API more predictable.
Value parameters
- to
-
the path to the destination file
Attributes
Attempts to move source to target atomically and falls back to a non-atomic move if it fails.
Attempts to move source to target atomically and falls back to a non-atomic move if it fails.
This always tries to replace existent files. Since it is platform dependent if atomic moves replaces existent files or not, considering that it will always replaces, makes the API more predictable.
Value parameters
- to
-
the path to the destination file
Attributes
Copy the file to the specified path destination and, if the destination exists, decide if replace it based on the replace parameter.
Copy the file to the specified path destination and, if the destination exists, decide if replace it based on the replace parameter.
Value parameters
- replace
-
if it should replace an existing file.
- to
-
the destination file.
Attributes
Copy the file to the specified path destination and, if the destination exists, decide if replace it based on the replace parameter.
Copy the file to the specified path destination and, if the destination exists, decide if replace it based on the replace parameter.
Value parameters
- replace
-
if it should replace an existing file.
- to
-
the path destination.
Attributes
Move the file to the specified destination java.io.File. In some cases, the source and destination file may point to the same inode. See the documentation for java.nio.file.Files.move to see more details.
Move the file to the specified destination java.io.File. In some cases, the source and destination file may point to the same inode. See the documentation for java.nio.file.Files.move to see more details.
Value parameters
- replace
-
true if an existing file should be replaced, false otherwise.
- to
-
the path to the destination file
Attributes
Deprecated methods
Attempts to move source to target atomically and falls back to a non-atomic move if it fails.
Attempts to move source to target atomically and falls back to a non-atomic move if it fails.
This always tries to replace existent files. Since it is platform dependent if atomic moves replaces existent files or not, considering that it will always replaces, makes the API more predictable.
Value parameters
- to
-
the path to the destination file
Attributes
- Deprecated
-
Since 2.8.0. Renamed to atomicMoveWithFallback.
Attempts to move source to target atomically and falls back to a non-atomic move if it fails.
Attempts to move source to target atomically and falls back to a non-atomic move if it fails.
This always tries to replace existent files. Since it is platform dependent if atomic moves replaces existent files or not, considering that it will always replaces, makes the API more predictable.
Value parameters
- to
-
the path to the destination file
Attributes
- Deprecated
-
Since 2.8.0. Renamed to atomicMoveWithFallback.
Attributes
- Deprecated
- true
Move the file to the specified destination java.io.File. In some cases, the source and destination file may point to the same inode. See the documentation for java.nio.file.Files.move to see more details.
Move the file to the specified destination java.io.File. In some cases, the source and destination file may point to the same inode. See the documentation for java.nio.file.Files.move to see more details.
Value parameters
- replace
-
true if an existing file should be replaced, false otherwise.
- to
-
the path to the destination file
Attributes
- Deprecated
-
Since 2.8.0. Renamed to moveTo.
Move the file using a java.nio.file.Path.
Move the file using a java.nio.file.Path.
Value parameters
- replace
-
true if an existing file should be replaced, false otherwise.
- to
-
the path to the destination file
Attributes
- Deprecated
-
Since 2.8.0. Renamed to moveTo.