Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.ArrayList;
- import java.util.List;
- public class Feed {
- private String title;
- private String description;
- private String link;
- private String author;
- public List<String> entries = new ArrayList<String>();
- public void setTitle(String title){
- this.title=title;
- }
- public void setDescription(String description){
- this.description=description;
- }
- public void setLink(String link){
- this.link=link;
- }
- public void setAuthor(String author){
- this.author=author;
- }
- public String toString(){
- return title+"\n"+description+"\n"+author+"\n"+author+"\n";
- }
- }
Add Comment
Please, Sign In to add comment