Class Song
java.lang.Object
com.github.connyscode.ctils.jTrack.Song
public class Song
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Song(org.json.simple.JSONObject trackObject)
Create a Track -
Method Summary
Modifier and Type Method Description java.lang.String
albumAuthor()
java.lang.String
albumFullName()
long
albumGID()
java.lang.String
albumImageUrl()
java.lang.String
albumName()
java.lang.String
albumUrl()
long
artistGID()
java.lang.String
artistHeaderImageUrl()
java.lang.String
artistImageUrl()
java.lang.String
artistName()
java.lang.String
artistUrl()
boolean
artistVerified()
java.lang.String
songAuthor()
java.lang.String
songFullName()
long
songGID()
java.lang.String
songHeaderImageUrl()
java.lang.String
songImageThumbnailUrl()
java.lang.String
songImageUrl()
java.lang.String
songLyrics()
java.lang.String
songName()
long
songPageViews()
java.lang.String
songReleaseDate()
java.lang.String
songUrl()
-
Constructor Details
-
Method Details
-
songName
public java.lang.String songName()- Returns:
- The name of the Track
-
songFullName
public java.lang.String songFullName()- Returns:
- The full name of the Track
e.g. 'Beat It by Michael Jackson'
instead of 'Beat It'
-
songAuthor
public java.lang.String songAuthor()- Returns:
- The track's artist
-
songHeaderImageUrl
public java.lang.String songHeaderImageUrl()- Returns:
- The track's Header as an URL
(Mostly same as Track.songImageUrl())
-
songImageUrl
public java.lang.String songImageUrl()- Returns:
- The track's CoverArt as an URL
-
songImageThumbnailUrl
public java.lang.String songImageThumbnailUrl()- Returns:
- The track's CoverArt Thumbnail as an URL
(A smaller version of the CoverArt Image)
-
songReleaseDate
public java.lang.String songReleaseDate()- Returns:
- The track's Release Date
-
songLyrics
public java.lang.String songLyrics()- Returns:
- The track's Lyrics
-
songUrl
public java.lang.String songUrl()- Returns:
- The track's Genius URL
-
albumName
public java.lang.String albumName()- Returns:
- The name of the Album
-
albumFullName
public java.lang.String albumFullName()- Returns:
- The full name of the Album
e.g. 'Beat It by Michael Jackson'
instead of 'Beat It'
-
albumAuthor
public java.lang.String albumAuthor()- Returns:
- The albums's artist
-
albumImageUrl
public java.lang.String albumImageUrl()- Returns:
- The albums's CoverArt as an URL
-
albumUrl
public java.lang.String albumUrl()- Returns:
- The albums's Genius URL
-
artistName
public java.lang.String artistName()- Returns:
- The name of the Artist
-
artistHeaderImageUrl
public java.lang.String artistHeaderImageUrl()- Returns:
- The artist's Header as an URL
(Mostly same as Track.artistImageUrl())
-
artistImageUrl
public java.lang.String artistImageUrl()- Returns:
- The artist's Profile Picture as an URL
-
artistUrl
public java.lang.String artistUrl()- Returns:
- The artist's Genius URL
-
songGID
public long songGID()- Returns:
- The artist's Genius URL
-
albumGID
public long albumGID() -
artistGID
public long artistGID() -
songPageViews
public long songPageViews() -
artistVerified
public boolean artistVerified()
-