Interface FileTransferOffer
-
- All Known Implementing Classes:
FileTransferOfferEvent
,JingleFileTransfer.File
,SIFileTransferOffer
public interface FileTransferOffer
An interface for file transfer requests, which covers XEP-0066, XEP-0096 and XEP-0234.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Instant
getDate()
Gets the last modification time of the file.String
getDescription()
Gets a sender-generated description of the file.List<Hash>
getHashes()
Gets the hashes of the file contents.String
getName()
Gets the name of the file that the Sender wishes to send.Range
getRange()
Gets the range.long
getSize()
Gets the size, in bytes, of the data to be sent.
-
-
-
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.
-
getDescription
String getDescription()
Gets a sender-generated description of the file.- Returns:
- The description.
-
getRange
Range getRange()
Gets the range.- Returns:
- The range.
-
-