public interface IIncomingFileTransfer extends IFileTransfer
IIncomingFileTransferReceiveStartEvent.receive(java.io.File)
method.Modifier and Type | Method and Description |
---|---|
long |
getBytesReceived()
Get number of bytes received so far.
|
IFileRangeSpecification |
getFileRangeSpecification()
Get file range specification for this incoming file transfer instance.
|
IFileTransferListener |
getListener()
Get listener assigned to this incoming file transfer.
|
java.lang.String |
getRemoteFileName()
Obtains the name of the remote file if possible.
|
java.util.Date |
getRemoteLastModified()
Obtains the timestamp that reflects the time when the remote file was last
modified if possible.
|
cancel, getException, getFileLength, getPercentComplete, isDone
getID
long getBytesReceived()
IFileTransferListener getListener()
null
if no listener
has been provided.IFileRangeSpecification getFileRangeSpecification()
null
if the retrieval is of the entire file.null
if the retrieval is of the entire file.java.lang.String getRemoteFileName()
null
if no such name can be determined.java.util.Date getRemoteLastModified()
null
if that
information was not available.