Back to project page tum-campus.
The source code is released under:
GNU General Public License
If you think the Android project tum-campus listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
?package de.tum.in.tumcampus.models; //w ww . ja v a 2s . c om import java.util.Date; import de.tum.in.tumcampus.common.Utils; /** * FeedItem object */ public class FeedItem { /** * Feed ID */ int feedId; /** * Item title */ String title; /** * Item link, e.g. http://www.heise.de/... */ String link; /** * description Item description */ String description; /** * DateTime */ Date date; /** * image Local image, e.g. /mnt/sdcard/tumcampus/feeds/cache/xy.jpg */ String image; /** * New Feed item (news) * * <pre> * @param feedId Feed ID * @param title Item title * @param link Item link, e.g. http://www.heise.de/... * @param description Item description * @param date DateTime * @param image Local image, e.g. /mnt/sdcard/tumcampus/feeds/cache/xy.jpg * </pre> */ public FeedItem(int feedId, String title, String link, String description, Date date, String image) { this.feedId = feedId; this.title = title; this.link = link; this.description = description; this.date = date; this.image = image; } @Override public String toString() { return "feedId=" + feedId + " title=" + title + " link=" + link + " description=" + description + " date=" + Utils.getDateString(date) + " image=" + image; } }