|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.yahoo.IncomingFileTransferRequestYahooImpl
public class IncomingFileTransferRequestYahooImpl
implementation of the incoming file transfer request
| Constructor Summary | |
|---|---|
IncomingFileTransferRequestYahooImpl(ProtocolProviderServiceYahooImpl yahooProvider,
OperationSetFileTransferYahooImpl fileTransferOpSet,
Contact sender,
Date date,
String fileName,
String fileSize,
String id)
|
|
| Method Summary | |
|---|---|
FileTransfer |
acceptFile(File file)
Function called to accept and receive the file. |
Date |
getDate()
|
String |
getFileDescription()
Returns a String that represents the description of the file that is being received. |
String |
getFileName()
Returns a String that represents the name of the file that is being received. |
long |
getFileSize()
Returns a long that represents the size of the file that is being received. |
String |
getID()
Uniquie ID that is identifying the request and then the FileTransfer if the request has been accepted. |
Contact |
getSender()
Returns a String that represents the name of the sender of the file being received. |
byte[] |
getThumbnail()
Returns the thumbnail contained in this request. |
void |
rejectFile()
Function called to refuse the file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IncomingFileTransferRequestYahooImpl(ProtocolProviderServiceYahooImpl yahooProvider,
OperationSetFileTransferYahooImpl fileTransferOpSet,
Contact sender,
Date date,
String fileName,
String fileSize,
String id)
| Method Detail |
|---|
public String getID()
getID in interface IncomingFileTransferRequestpublic String getFileName()
getFileName in interface IncomingFileTransferRequestpublic String getFileDescription()
getFileDescription in interface IncomingFileTransferRequestpublic long getFileSize()
getFileSize in interface IncomingFileTransferRequestpublic Contact getSender()
getSender in interface IncomingFileTransferRequestpublic FileTransfer acceptFile(File file)
acceptFile in interface IncomingFileTransferRequestfile - the file to accept
public void rejectFile()
rejectFile in interface IncomingFileTransferRequestpublic Date getDate()
public byte[] getThumbnail()
getThumbnail in interface IncomingFileTransferRequest
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||