Back to project page Youtubemysongs.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCT...
If you think the Android project Youtubemysongs 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.aanchal.youtubemysongs; //from w w w. j a v a 2 s .c o m // Store Song Information public class Song { public Song(String title, String album, String artist) { this.title = title; this.album = album; this.artist = artist; } public String getAlbumQueryString() { return (title + " " + album).replace(" ","%20"); } public String getArtistQueryString() { return (title + " " + artist).replace(" ","%20"); } public String getArtistAlbumQueryString() { return (title + " " + artist + " " + album).replace(" ","%20"); } public String getTitleQueryString() { return title.replace(" ","%20"); } public String title; public String album; public String artist; }