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.IOException
public Intent getCompleteIntent()
getCompleteIntent
in interface IntentTask
public boolean isSucceeded()
isSucceeded
in interface Task
public java.lang.String toString()
toString
in class java.lang.Object