|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFileTransferPausable
Adapter interface for pausing and resuming IFileTransfer instances that
expose this adapter interface via
IAdaptable.getAdapter(Class adapter). To use this interface,
clients should do the following:
IFileTransfer fileTransfer;
IFileTransferPausable pausable = (IFileTransferPausable) fileTransfer.getAdapter(IFileTransferPausable.class);
if (pausable !=null) {
... use it
} else {
... does not support pausing
}
| Method Summary | |
|---|---|
boolean |
isPaused()
|
boolean |
pause()
Pause file transfer. |
boolean |
resume()
Resume file transfer after having been paused. |
| Method Detail |
|---|
boolean pause()
boolean isPaused()
boolean resume()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||