Public 成员函数 | |
| DownFileDao (Context context) | |
| DownFile | getDownFile (String path) |
| synchronized long | save (DownFile mDownFile) |
| synchronized long | update (DownFile mDownFile) |
| synchronized long | delete (String path) |
Public 成员函数 继承自 com.ab.db.AbBasicDBDao | |
| String | getStringColumnValue (String columnName, Cursor cursor) |
| int | getIntColumnValue (String columnName, Cursor cursor) |
| void | closeDatabase (Cursor cursor, SQLiteDatabase db) |
| void | closeCursor (Cursor cursor) |
静态 Public 成员函数 | |
| static DownFileDao | getInstance (Context context) |
静态 Public 属性 | |
| static Context | mContext = null |
| static DownFileDao | mDownFileDao = null |
Private 属性 | |
| MyDBHelper | openHelper |
The Class DownFileDao.
|
inline |
Instantiates a new down file dao.
| context | the context |
|
inline |
删除对应的下载记录.
| path | the path |
|
inline |
获取已经下载的文件的信息.
| path | the path |
|
inlinestatic |
|
inline |
保存线程已经下载的文件信息.
| mDownFile | the m down file |
|
inline |
实时更新线程已经下载的文件长度.
| mDownFile | the m down file |
|
static |
The m context.
|
static |
The m down file dao.
|
private |
The open helper.
1.8.8