public abstract class ReadStreamTask extends java.lang.Object implements IntentTask
Task.TaskListener| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_NAME |
static java.lang.String |
INTENT_COMPLETE |
protected boolean |
mSucceeded |
static java.lang.String |
TAG |
| Constructor and Description |
|---|
ReadStreamTask(java.io.InputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
Intent |
getCompleteIntent() |
boolean |
isSucceeded() |
protected abstract void |
readContent(java.io.InputStream in) |
void |
reset() |
boolean |
run() |
java.lang.String |
toString() |
public static final java.lang.String TAG
public static final java.lang.String CLASS_NAME
public static final java.lang.String INTENT_COMPLETE
protected boolean mSucceeded
protected abstract void readContent(java.io.InputStream in)
throws java.io.IOException
java.io.IOExceptionpublic Intent getCompleteIntent()
getCompleteIntent in interface IntentTaskpublic boolean isSucceeded()
isSucceeded in interface Taskpublic java.lang.String toString()
toString in class java.lang.Object