public static class JingleFileTransfer.File extends Object implements FileTransferOffer
| Constructor and Description |
|---|
JingleFileTransfer.File(String name,
long size) |
JingleFileTransfer.File(String name,
long size,
Date lastModified,
String hash,
String description) |
| Modifier and Type | Method and Description |
|---|---|
Date |
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 |
getMediaType() |
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.
|
public JingleFileTransfer.File(String name, long size)
public long getSize()
FileTransferOffergetSize in interface FileTransferOfferpublic String getName()
FileTransferOffergetName in interface FileTransferOfferpublic Date getDate()
FileTransferOffergetDate in interface FileTransferOfferpublic List<Hash> getHashes()
FileTransferOffergetHashes in interface FileTransferOfferpublic String getDescription()
FileTransferOffergetDescription in interface FileTransferOfferpublic Range getRange()
FileTransferOffergetRange in interface FileTransferOfferpublic String getMediaType()
Copyright © 2014–2015 XMPP.rocks. All rights reserved.