Back to project page SimpleReader.
The source code is released under:
Apache License
If you think the Android project SimpleReader 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 com.dreamteam.app.entity; /* w ww.j av a2 s. com*/ import java.io.Serializable; import java.util.ArrayList; public class FeedItem implements Serializable { private static final long serialVersionUID = 1205476778224835404L; private String title; private String content; private String link; private String pubdate; private String category; private String firstImageUrl; private boolean readed = false; private boolean favorite = false; private ArrayList<String> imageUrls = new ArrayList<String>(); @Override public String toString() { return title + "," + content + "," + "link" + "," + pubdate; } public String getImageUrlsAsString() { StringBuilder sb = new StringBuilder(); for(String url : imageUrls) { sb.append(url).append(","); } return sb.toString(); } ////////////////////////////////////////////////////// // getters and setters ////////////////////////////////////////////////////// public String getFirstImageUrl() { return firstImageUrl; } public void setFirstImageUrl(String imageUrl) { this.firstImageUrl = imageUrl; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getLink() { return link; } public void setLink(String link) { this.link = link; } public String getPubdate() { return pubdate; } public void setPubdate(String pubdate) { this.pubdate = pubdate; } public String getCategory() { return category; } public void setCategory(String category) { this.category = category; } public ArrayList<String> getImageUrls() { return imageUrls; } public void setImageUrls(ArrayList<String> imageUrls) { this.imageUrls = imageUrls; } public boolean isReaded() { return readed; } public void setReaded(boolean readed) { this.readed = readed; } public boolean isFavorite() { return favorite; } public void setFavorite(boolean favorite) { this.favorite = favorite; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } }