Class SIFileTransferOffer

    • Field Detail

    • Method Detail

      • getSize

        public final long getSize()
        Gets the size, in bytes, of the data to be sent.
        Specified by:
        getSize in interface FileTransferOffer
        Returns:
        The size.
      • getName

        public final String getName()
        Gets the name of the file that the Sender wishes to send.
        Specified by:
        getName in interface FileTransferOffer
        Returns:
        The file name.
      • getDate

        public final Instant getDate()
        Gets the last modification time of the file.
        Specified by:
        getDate in interface FileTransferOffer
        Returns:
        The date.
      • getDescription

        public final String getDescription()
        Gets a sender-generated description of the file.
        Specified by:
        getDescription in interface FileTransferOffer
        Returns:
        The description.