public class URLLoadPropertiesTask extends URLRetriableTask
Task.TaskListener| Modifier and Type | Field and Description |
|---|---|
protected java.util.Properties |
mContent |
CLASS_NAME, INTENT_COMPLETE, LOG_ENABLED, mSucceeded, TAGDEFAULT_BUFFER, DEFAULT_TIMEOUT, EXTRA_URL, mBuffer, mBufferSize, mContentLength, mGzipEnabled, mTotalBytesLoaded, mURLRETRY_UNLIMITED| Constructor and Description |
|---|
URLLoadPropertiesTask(java.lang.String srcURL) |
URLLoadPropertiesTask(java.lang.String srcURL,
int retryMax) |
URLLoadPropertiesTask(java.lang.String srcURL,
int retryMax,
int retryDelay) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Properties |
getContent() |
protected void |
onProgress(byte[] data,
int count)
Internal callback when progressing
|
protected int |
readStream(java.io.InputStream stream) |
getCompleteIntent, isSucceeded, reset, retry, rungetURL, isGzipEnabled, openURL, openURL, postURL, setGzipEnabledpublic URLLoadPropertiesTask(java.lang.String srcURL)
srcURL - public URLLoadPropertiesTask(java.lang.String srcURL,
int retryMax)
srcURL - retryMax - public URLLoadPropertiesTask(java.lang.String srcURL,
int retryMax,
int retryDelay)
srcURL - retryMax - retryDelay - protected int readStream(java.io.InputStream stream)
throws java.lang.Exception
readStream in class URLTaskjava.lang.Exceptionprotected void onProgress(byte[] data,
int count)
throws java.lang.Exception
URLTaskonProgress in class URLTaskjava.lang.Exceptionpublic java.util.Properties getContent()