| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ecf.filetransfer.FileTransferInfo
public class FileTransferInfo
File transfer information delivered to
 IIncomingFileTransferRequestListener via an event implementing
 IFileTransferRequestEvent.getFileTransferInfo()
| Field Summary | |
|---|---|
protected  java.lang.String | 
description
 | 
protected  java.io.File | 
file
 | 
protected  java.lang.String | 
mimeType
 | 
protected  java.util.Map | 
properties
 | 
| Constructor Summary | |
|---|---|
FileTransferInfo(java.io.File file)
 | 
|
FileTransferInfo(java.io.File file,
                 java.util.Map properties)
 | 
|
FileTransferInfo(java.io.File file,
                 java.util.Map properties,
                 java.lang.String description)
 | 
|
FileTransferInfo(java.io.File file,
                 java.util.Map properties,
                 java.lang.String description,
                 java.lang.String mimeType)
 | 
|
| Method Summary | |
|---|---|
 java.lang.Object | 
getAdapter(java.lang.Class adapter)
 | 
 java.lang.String | 
getDescription()
Get any description associated with this file transfer info.  | 
 java.io.File | 
getFile()
Get the file for the proposed file transfer  | 
 long | 
getFileSize()
Get the file size (in bytes).  | 
 java.lang.String | 
getMimeType()
Get the mime type string for this file transfer info.  | 
 java.util.Map | 
getProperties()
Get any properties associated with this file transfer.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected java.io.File file
protected java.util.Map properties
protected java.lang.String description
protected java.lang.String mimeType
| Constructor Detail | 
|---|
public FileTransferInfo(java.io.File file)
public FileTransferInfo(java.io.File file,
                        java.util.Map properties)
public FileTransferInfo(java.io.File file,
                        java.util.Map properties,
                        java.lang.String description)
public FileTransferInfo(java.io.File file,
                        java.util.Map properties,
                        java.lang.String description,
                        java.lang.String mimeType)
| Method Detail | 
|---|
public java.io.File getFile()
IFileTransferInfo
getFile in interface IFileTransferInfonull.public java.util.Map getProperties()
IFileTransferInfo
getProperties in interface IFileTransferInfonull.public java.lang.String getDescription()
IFileTransferInfo
getDescription in interface IFileTransferInfonull if no description
         provided.public java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptablepublic long getFileSize()
IFileTransferInfo
getFileSize in interface IFileTransferInfopublic java.lang.String getMimeType()
IFileTransferInfo
getMimeType in interface IFileTransferInfonull if mime type is not known.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||