public class FileTransferInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
MAX_FILE_NAME_LEN |
| Constructor and Description |
|---|
FileTransferInfo(java.lang.String filename,
java.lang.String fileId,
long size)
Constructor of FileTransferInfo which denotes a file.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFileId()
Get the Id of the file.
|
java.lang.String |
getFileName()
Get the name of the file.
|
long |
getSize()
Get the size of the file.
|
public final int MAX_FILE_NAME_LEN
public FileTransferInfo(java.lang.String filename,
java.lang.String fileId,
long size)
throws CarrierException
filename - [in] The name of the file(no longer than CARRIER_MAX_FILE_NAME_LEN).fileId - [in] Id(obtained by calling FileTransfer.generateFileId()) assigned to the file
(This field can be left unspecified(i.e. null).In that case,
the file will be assigned an Id automatically).size - [in] The size of the file.CarrierExceptionpublic java.lang.String getFileName()
public java.lang.String getFileId()
public long getSize()