public class WriteTextFileTask extends WriteFileTask
Task.TaskListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_NAME |
static java.lang.String |
INTENT_COMPLETE |
protected java.lang.String |
mContent |
static java.lang.String |
TAG |
EXTRA_FILE_PATH, mFilePath, mOverriding, mSucceeded
Constructor and Description |
---|
WriteTextFileTask(java.lang.String content,
java.lang.String dstFilePath,
boolean overriding) |
Modifier and Type | Method and Description |
---|---|
Intent |
getCompleteIntent() |
java.lang.String |
getContent() |
java.lang.String |
toString() |
protected void |
writeContent(java.io.OutputStream out) |
getFilePath, isSucceeded, reset, run
public static final java.lang.String TAG
public static final java.lang.String CLASS_NAME
public static final java.lang.String INTENT_COMPLETE
protected final java.lang.String mContent
public WriteTextFileTask(java.lang.String content, java.lang.String dstFilePath, boolean overriding)
protected void writeContent(java.io.OutputStream out) throws java.io.IOException
writeContent
in class WriteFileTask
java.io.IOException
public java.lang.String getContent()
public Intent getCompleteIntent()
getCompleteIntent
in interface IntentTask
getCompleteIntent
in class WriteFileTask
public java.lang.String toString()
toString
in class WriteFileTask