Interface FileTransferOffer

    • Method Detail

      • getSize

        long getSize()
        Gets the size, in bytes, of the data to be sent.
        Returns:
        The size.
      • getName

        String getName()
        Gets the name of the file that the Sender wishes to send.
        Returns:
        The file name.
      • getDate

        Instant getDate()
        Gets the last modification time of the file.
        Returns:
        The date.
      • getHashes

        List<Hash> getHashes()
        Gets the hashes of the file contents.
        Returns:
        The hashes.
      • getDescription

        String getDescription()
        Gets a sender-generated description of the file.
        Returns:
        The description.
      • getRange

        Range getRange()
        Gets the range.
        Returns:
        The range.