Package org.eclipse.ecf.filetransfer
Interface IFileTransferInfo
- 
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable
 - All Known Implementing Classes:
- FileTransferInfo
 
 public interface IFileTransferInfo extends org.eclipse.core.runtime.IAdaptableFile transfer information delivered toIIncomingFileTransferRequestListenervia an event implementingIFileTransferRequestEvent.getFileTransferInfo()
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Get any description associated with this file transfer info.FilegetFile()Get the file for the proposed file transferlonggetFileSize()Get the file size (in bytes).StringgetMimeType()Get the mime type string for this file transfer info.MapgetProperties()Get any properties associated with this file transfer.
 
- 
- 
- 
Method Detail- 
getFileFile getFile() Get the file for the proposed file transfer- Returns:
- the proposed file. Will not return null.
 
 - 
getFileSizelong getFileSize() Get the file size (in bytes).- Returns:
- long file size (in bytes). If file size is unknown, will return -1.
 
 - 
getPropertiesMap getProperties() Get any properties associated with this file transfer. The map keys and values are assumed to be Strings.- Returns:
- Map of properties associated with this file transfer info. Will
         not return null.
 
 - 
getDescriptionString getDescription() Get any description associated with this file transfer info.- Returns:
- String description. May be nullif no description provided.
 
 - 
getMimeTypeString getMimeType() Get the mime type string for this file transfer info.- Returns:
- String mime type.  May return nullif mime type is not known.
 
 
- 
 
-