net.sourceforge.atunes.model
Interface AudioObject

All Known Implementing Classes:
AudioFile, PodcastFeedEntry, Radio

public interface AudioObject

Interface for all audio objects (e.g. AudioFile, Radio, PodcastFeedEntry)


Method Summary
 java.lang.String getAlbum()
          Gets the album.
 java.lang.String getAlbumArtist()
          Gets the album artist.
 java.lang.String getArtist()
          Gets the artist.
 long getBitrate()
          Gets the bitrate.
 java.lang.String getComposer()
          Gets the composer.
 long getDuration()
          Gets the duration.
 int getFrequency()
          Gets the frequency.
 java.lang.String getGenre()
          Gets the genre.
 java.lang.String getLyrics()
          Gets the lyrics.
 int getStars()
          Gets the stars.
 java.lang.String getTitle()
          Gets the title.
 java.lang.String getTitleOrFileName()
          Gets the title or file name.
 java.lang.Integer getTrackNumber()
          Gets the track number.
 java.lang.String getUrl()
          Gets the url.
 java.lang.String getYear()
          Gets the year.
 boolean isSeekable()
          Checks if is seekable.
 void setStars(int stars)
          Sets the stars.
 

Method Detail

getAlbum

java.lang.String getAlbum()
Gets the album.

Returns:
the album

getAlbumArtist

java.lang.String getAlbumArtist()
Gets the album artist.

Returns:
the album artist

getArtist

java.lang.String getArtist()
Gets the artist.

Returns:
the artist

getBitrate

long getBitrate()
Gets the bitrate.

Returns:
the bitrate

getComposer

java.lang.String getComposer()
Gets the composer.

Returns:
the composer

getDuration

long getDuration()
Gets the duration.

Returns:
the duration

getFrequency

int getFrequency()
Gets the frequency.

Returns:
the frequency

getGenre

java.lang.String getGenre()
Gets the genre.

Returns:
the genre

getLyrics

java.lang.String getLyrics()
Gets the lyrics.

Returns:
the lyrics

getStars

int getStars()
Gets the stars.

Returns:
the stars

getTitle

java.lang.String getTitle()
Gets the title.

Returns:
the title

getTitleOrFileName

java.lang.String getTitleOrFileName()
Gets the title or file name.

Returns:
the title or file name

getTrackNumber

java.lang.Integer getTrackNumber()
Gets the track number.

Returns:
the track number

getUrl

java.lang.String getUrl()
Gets the url.

Returns:
the url

getYear

java.lang.String getYear()
Gets the year.

Returns:
the year

setStars

void setStars(int stars)
Sets the stars.

Parameters:
stars - the new stars

isSeekable

boolean isSeekable()
Checks if is seekable.

Returns:
true, if is seekable


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.