public class DownloadItem
extends java.lang.Object
构造器和说明 |
---|
DownloadItem(JSONObject json) |
DownloadItem(java.lang.String name,
java.lang.String url,
long size) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getDownloadLength() |
java.lang.String |
getName() |
java.lang.String |
getProgressString() |
int |
getProgressValue() |
long |
getSize() |
int |
getTotalLength() |
java.lang.String |
getUrl() |
int |
hashCode()
返回一个hash码
|
void |
setDownloadLength(int downloadLength) |
void |
setSize(long size) |
void |
setTotalLength(int totalLength) |
java.lang.String |
toString()
转化为字符串
|
public DownloadItem(JSONObject json)
public DownloadItem(java.lang.String name, java.lang.String url, long size)
public java.lang.String getName()
public java.lang.String getUrl()
public long getSize()
public void setSize(long size)
public int getTotalLength()
public int getDownloadLength()
public void setTotalLength(int totalLength)
public void setDownloadLength(int downloadLength)
public int getProgressValue()
public java.lang.String getProgressString()
public java.lang.String toString()
toString
在类中 java.lang.Object
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object