Back to project page HealthTube.
The source code is released under:
GNU General Public License
If you think the Android project HealthTube 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.healthtube; /* w w w . jav a2 s.co m*/ import java.io.Serializable; public class Video implements Serializable { // The title of the video private String title; // A link to the video on youtube private String url; // A link to a image of the youtube video private String thumbUrl; /** * Constructor. Create a new Video object * @param title the video title * @param url the video url * @param thumbUrl the url thumbnail video */ public Video(String title, String url, String thumbUrl) { super(); this.title = title; this.url = url; this.thumbUrl = thumbUrl; } /** * Method to get the video title * @return a string representing the video title */ public String getTitle() { return title; } /** * Method to get the video url * @return a string representing the video url */ public String getUrl() { return url; } /** * Method to get the video thumbnail url * @return a string representing the video thumbnail */ public String getThumbUrl() { return thumbUrl; } }