public interface Copy
A Copy
is returned as the result of the Files.copy
method, when the option CopyOption.ASYNCHRONOUS
is provided. This Copy
can then
be used to retrieve the status of the copy operation using Files.getCopyStatus
or cancel it
using Files.cancelCopy
.
Files
,
CopyOption
Modifier and Type | Method and Description |
---|---|
Path |
getSource()
Retrieve the source of the copy.
|
Path |
getTarget()
Retrieve the target of the copy.
|