|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IIncomingFileTransfer
Incoming file transfer request. Instance implementing this interface are
provided via calling the
IIncomingFileTransferReceiveStartEvent.receive(java.io.File)
method.
Method Summary | |
---|---|
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. |
Methods inherited from interface org.eclipse.ecf.filetransfer.IFileTransfer |
---|
cancel, getException, getFileLength, getPercentComplete, isDone |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Methods inherited from interface org.eclipse.ecf.core.identity.IIdentifiable |
---|
getID |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |