Interface PathsCopyingFileSystem.CopyRequest

  • Enclosing interface:
    PathsCopyingFileSystem

    public static interface PathsCopyingFileSystem.CopyRequest
    A pair of source and destination to duplicate a file.

    At least one of, either source or destination belongs to this PathsCopyingFileSystem. One of them can point to the local file system. In other words this request can correspond to either: downloading a file from the remote file system, uploading a file to the remote file system or duplicating a file in the remote file system.

    • Method Detail

      • getSource

        Path getSource()
        The path of the source file to duplicate.
      • getDestination

        Path getDestination()
        The path where to duplicate the source file.
      • getSize

        long getSize()
        The size in bytes of the requested file to copy.