|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UrlDataRetriever
| Field Summary | |
|---|---|
static java.lang.Integer |
RESULT_RETRIEVAL_ABORTED
This value is returned if the retrieval was aborted. |
static java.lang.Integer |
RESULT_RETRIEVAL_FAILED
This value is returned if the retrieval failed. |
static java.lang.Integer |
RESULT_RETRIEVAL_FAILED_BUT_RETRYABLE
This value is returned if the retrieval failed but it's retryable. |
static java.lang.Integer |
RESULT_RETRIEVAL_NOT_STARTED_YET
This value is returned if the download was not started yet. |
static java.lang.Integer |
RESULT_RETRIEVAL_OK
This value is returned if the retrieval finished without errors. |
static java.lang.Integer |
RESULT_RETRIEVAL_UNKNOWN
|
| Fields inherited from interface de.phleisch.app.itsucks.io.DataRetriever |
|---|
NOTIFICATION_PROGRESS |
| Method Summary | |
|---|---|
int |
getResultCode()
Returns the internal state and result code after connecting. |
long |
getSuggestedTimeToWaitForRetry()
Returns the suggested time to wait befory retry the retrieval in ms. |
java.net.URL |
getUrl()
Returns the URL which is retrieved. |
void |
setUrl(java.net.URL pUrl)
Sets the URL to be retrieved. |
| Methods inherited from interface de.phleisch.app.itsucks.io.DataRetriever |
|---|
abort, connect, disconnect, getBytesSkipped, getContentLenght, getDataAsInputStream, getMetadata, isConnected, isDataAvailable, setBytesToSkip |
| Field Detail |
|---|
static final java.lang.Integer RESULT_RETRIEVAL_UNKNOWN
static final java.lang.Integer RESULT_RETRIEVAL_NOT_STARTED_YET
static final java.lang.Integer RESULT_RETRIEVAL_OK
static final java.lang.Integer RESULT_RETRIEVAL_FAILED
static final java.lang.Integer RESULT_RETRIEVAL_FAILED_BUT_RETRYABLE
static final java.lang.Integer RESULT_RETRIEVAL_ABORTED
| Method Detail |
|---|
java.net.URL getUrl()
void setUrl(java.net.URL pUrl)
pUrl - int getResultCode()
long getSuggestedTimeToWaitForRetry()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||