|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.org.ogsadai.client.toolkit.activity.delivery.DataTransportMode
A DataTransport transfer mode - full transfer or block by block transfer.
| Field Summary | |
static DataTransportMode |
BLOCK
Transfer data block by block. |
static DataTransportMode |
FULL
Transfer data in full within a single block. |
| Method Summary | |
java.lang.String |
getAsString()
Return the transfer mode as a string - either "block" or "full". |
boolean |
isBlock()
Is the current transfer mode a block by block transfer? |
boolean |
isFull()
Is the current transfer mode a full transfer? |
void |
setBlock()
Set the transfer mode to be a block by block transfer |
void |
setFull()
Set the transfer mode to be a full transfer |
void |
setMode(java.lang.String mode)
Set the transfer mode. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final DataTransportMode BLOCK
public static final DataTransportMode FULL
| Method Detail |
public void setMode(java.lang.String mode)
mode - with value DataTransportMode.BLOCK_STRING for
a block by block transfer or DataTransportMode.FULL_STRING for
a full transfer.
java.lang.IllegalArgumentException - If mode is neither DataTransportMode.BLOCK_STRING
or DataTransportMode.FULL_STRINGpublic void setFull()
public void setBlock()
public boolean isBlock()
mode is BLOCK_STRING.public boolean isFull()
mode is FULL_STRING.public java.lang.String getAsString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||