AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
Public 成员函数 | Private 属性 | 所有成员列表
com.ab.download.DownFile类 参考

Public 成员函数

int get_ID ()
 
void set_ID (int _ID)
 
String getIcon ()
 
void setIcon (String icon)
 
String getName ()
 
void setName (String name)
 
String getDescription ()
 
void setDescription (String description)
 
String getPakageName ()
 
void setPakageName (String pakageName)
 
int getState ()
 
void setState (int state)
 
String getDownUrl ()
 
void setDownUrl (String downUrl)
 
String getDownPath ()
 
void setDownPath (String downPath)
 
long getDownLength ()
 
void setDownLength (long downLength)
 
long getTotalLength ()
 
void setTotalLength (long totalLength)
 
String getSuffix ()
 
void setSuffix (String suffix)
 

Private 属性

int _ID
 
String icon
 
String name
 
String description
 
String pakageName
 
int state
 
String downUrl
 
String downPath
 
long downLength
 
long totalLength
 
String suffix
 

详细描述

描述:下载文件.

作者
还如一梦中
版本
v1.0
日期
:2012-6-25 下午4:20:55

成员函数说明

int com.ab.download.DownFile.get_ID ( )
inline

Gets the id.

返回
the id
String com.ab.download.DownFile.getDescription ( )
inline

Gets the description.

返回
the description
long com.ab.download.DownFile.getDownLength ( )
inline

Gets the down length.

返回
the down length
String com.ab.download.DownFile.getDownPath ( )
inline

Gets the down path.

返回
the down path
String com.ab.download.DownFile.getDownUrl ( )
inline

Gets the down url.

返回
the down url
String com.ab.download.DownFile.getIcon ( )
inline

Gets the icon.

返回
the icon
String com.ab.download.DownFile.getName ( )
inline

Gets the name.

返回
the name
String com.ab.download.DownFile.getPakageName ( )
inline

Gets the pakage name.

返回
the pakage name
int com.ab.download.DownFile.getState ( )
inline

Gets the state.

返回
the state
String com.ab.download.DownFile.getSuffix ( )
inline

Gets the suffix.

返回
the suffix
long com.ab.download.DownFile.getTotalLength ( )
inline

Gets the total length.

返回
the total length
void com.ab.download.DownFile.set_ID ( int  _ID)
inline

Sets the id.

参数
_IDthe new id
void com.ab.download.DownFile.setDescription ( String  description)
inline

Sets the description.

参数
descriptionthe new description
void com.ab.download.DownFile.setDownLength ( long  downLength)
inline

Sets the down length.

参数
downLengththe new down length
void com.ab.download.DownFile.setDownPath ( String  downPath)
inline

Sets the down path.

参数
downPaththe new down path
void com.ab.download.DownFile.setDownUrl ( String  downUrl)
inline

Sets the down url.

参数
downUrlthe new down url
void com.ab.download.DownFile.setIcon ( String  icon)
inline

Sets the icon.

参数
iconthe new icon
void com.ab.download.DownFile.setName ( String  name)
inline

Sets the name.

参数
namethe new name
void com.ab.download.DownFile.setPakageName ( String  pakageName)
inline

Sets the pakage name.

参数
pakageNamethe new pakage name
void com.ab.download.DownFile.setState ( int  state)
inline

Sets the state.

参数
statethe new state
void com.ab.download.DownFile.setSuffix ( String  suffix)
inline

Sets the suffix.

参数
suffixthe new suffix
void com.ab.download.DownFile.setTotalLength ( long  totalLength)
inline

Sets the total length.

参数
totalLengththe new total length

类成员变量说明

int com.ab.download.DownFile._ID
private

唯一标识.

String com.ab.download.DownFile.description
private

文件简介.

long com.ab.download.DownFile.downLength
private

文件当前下载大小.

String com.ab.download.DownFile.downPath
private

文件保存路径.

String com.ab.download.DownFile.downUrl
private

文件下载路径.

String com.ab.download.DownFile.icon
private

图标.

String com.ab.download.DownFile.name
private

文件名称.

String com.ab.download.DownFile.pakageName
private

如果是apk文件表示包名.

int com.ab.download.DownFile.state
private

1表示已下载完成 0表示未开始下载 2表示已开始下载.

String com.ab.download.DownFile.suffix
private

文件类型后缀.tmp.

long com.ab.download.DownFile.totalLength
private

文件总大小.


该类的文档由以下文件生成: