public class ReadPropertiesFileTask extends ReadFileTask
Task.TaskListener| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_NAME |
static java.lang.String |
INTENT_COMPLETE |
protected java.util.Properties |
mContent |
static java.lang.String |
TAG |
EXTRA_FILE_PATH, mAssets, mFilePath, mSucceeded| Constructor and Description |
|---|
ReadPropertiesFileTask(AssetManager assets,
java.lang.String filePath) |
ReadPropertiesFileTask(java.lang.String filePath) |
| Modifier and Type | Method and Description |
|---|---|
Intent |
getCompleteIntent() |
java.util.Properties |
getContent() |
protected void |
readContent(java.io.InputStream in) |
java.lang.String |
toString() |
getFilePath, isSucceeded, reset, runpublic static final java.lang.String TAG
public static final java.lang.String CLASS_NAME
public static final java.lang.String INTENT_COMPLETE
protected java.util.Properties mContent
public ReadPropertiesFileTask(java.lang.String filePath)
public ReadPropertiesFileTask(AssetManager assets,
java.lang.String filePath)
protected void readContent(java.io.InputStream in)
throws java.io.IOException
readContent in class ReadFileTaskjava.io.IOExceptionpublic java.util.Properties getContent()
public Intent getCompleteIntent()
getCompleteIntent in interface IntentTaskgetCompleteIntent in class ReadFileTaskpublic java.lang.String toString()
toString in class ReadFileTask