package com.littlepanpc.downloader.meta;

public class DownloadInfo {
	public String url;
	public String name;
	public String parentPath;
	public int downloadedSize;
	public int totalSize;
	public int status;

	@Override
	public String toString() {
		return "DownloadMeta [url=" + url + ", name=" + name + ", parentPath="
				+ parentPath + ", downloadedSize=" + downloadedSize
				+ ", totalSize=" + totalSize + ", status=" + status + "]";
	}

	@Override
	public boolean equals(Object o) {
		// TODO Auto-generated method stub
		if (o == this) {
			return true;
		}
		if (o instanceof DownloadInfo) {
			DownloadInfo meta = (DownloadInfo) o;
			return url.equals(meta.url) && name.equals(meta.name);
		}
		return false;
	}
}

@@ -35,16 +35,210 @@
 .meta;%0A%0A
+/**%0A * @class: DownloadInfo%0A * @Description: some information about download task.%0A * @author: Peter Pan%0A * @email: happychinapc@gmail.com%0A * @date: 2014-7-24 %E4%B8%8A%E5%8D%889:34:01%0A * @since: 1.0.0%0A * %0A */%0A
 public c

Update DownloadInfo.java