g-Eclipse
Release 1.0.0

eu.geclipse.core.model
Interface ITransferInformation

All Known Implementing Classes:
TransferInformation

public interface ITransferInformation

Class representing transfer operation. Has information about the source of the transfer and it's destination


Method Summary
 java.lang.String getData()
          Transfer-specific information which should be stored and used for transfer resuming.
 IFileStore getDestination()
          Return EFS for the destination of transfer
 java.lang.Integer getId()
          Getter of the internal transfer number
 long getSize()
          Getter of the size of the transfer
 IFileStore getSource()
          Returns EFS for the source of transfer
 boolean isMove()
          Specifies if the transfer was move or copy operation.
 void setData(java.lang.String data)
           
 

Method Detail

getData

java.lang.String getData()
Transfer-specific information which should be stored and used for transfer resuming.

Returns:
Transfer-specific token

getSource

IFileStore getSource()
Returns EFS for the source of transfer

Returns:
EFS of the source

getDestination

IFileStore getDestination()
Return EFS for the destination of transfer

Returns:
EFS of the target

isMove

boolean isMove()
Specifies if the transfer was move or copy operation.

Returns:
true if transfer presents move operation, false if transfer is not a move operation

getId

java.lang.Integer getId()
Getter of the internal transfer number

Returns:
unique, internal id of the transfer

getSize

long getSize()
Getter of the size of the transfer

Returns:
size of the transfered file, or 0 if the transfer object is a folder.

setData

void setData(java.lang.String data)

g-Eclipse
Release 1.0.0