A C D E F G H I K L M O P R S T U V

A

addConnectionChangeListener(ConnectionChangeListener) - Method in class org.bff.javampd.monitor.MPDEventMonitor
Adds a ConnectionChangeListener to this object to receive ConnectionChangeEvents.
addDirectory(String) - Method in class org.bff.javampd.MPDPlaylist
Adds a directory of songs to the playlist.
addMPDChangeListener(MPDChangeListener) - Method in class org.bff.javampd.monitor.MPDEventRelayer
Adds a MPDChangeListener to this object to receive MPDChangeEvents.
addMPDChangeListener(MPDChangeListener) - Method in class org.bff.javampd.MPDAdmin
Adds a MPDChangeListener to this object to receive MPDChangeEvents.
addMPDErrorListener(MPDErrorListener) - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Adds a MPDErrorListener to this object to receive MPDErrorEvents.
addPlayerChangeListener(PlayerChangeListener) - Method in class org.bff.javampd.monitor.MPDEventRelayer
Adds a PlayerChangeListener to this object to receive PlayerChangeEvents.
addPlayerChangeListener(PlayerBasicChangeListener) - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Adds a PlayerBasicChangeListener to this object to receive PlayerChangeEvents.
addPlayerChangeListener(PlayerChangeListener) - Method in class org.bff.javampd.MPDPlayer
Adds a PlayerChangeListener to this object to receive PlayerChangeEvents.
addPlaylistChangeListener(PlaylistBasicChangeListener) - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Adds a PlaylistBasicChangeListener to this object to receive PlaylistChangeEvents.
addPlaylistChangeListener(PlaylistChangeListener) - Method in class org.bff.javampd.MPDPlaylist
Adds a PlaylistChangeListener to this object to receive PlaylistChangeEvents.
addSong(MPDSong) - Method in class org.bff.javampd.MPDPlaylist
Adds a MPDSong to the playlist.
addSongs(List<MPDSong>) - Method in class org.bff.javampd.MPDPlaylist
Adds a List of MPDSongs to the playlist.
addTrackPositionChangeListener(TrackPositionChangeListener) - Method in class org.bff.javampd.monitor.MPDEventMonitor
Adds a TrackPositionChangeListener to this object to receive TrackPositionChangeEvents.
addVolumeChangeListener(VolumeChangeListener) - Method in class org.bff.javampd.monitor.MPDEventRelayer
Adds a VolumeChangeListener to this object to receive VolumeChangeEvents.
addVolumeChangeListener(VolumeChangeListener) - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Adds a VolumeChangeListener to this object to receive VolumeChangeEvents.
addVolumeChangeListener(VolumeChangeListener) - Method in class org.bff.javampd.MPDPlayer
Adds a VolumeChangeListener to this object to receive VolumeChangeEvents.

C

checkConnection() - Method in class org.bff.javampd.monitor.MPDEventMonitor
Checks the connection status of the MPD.
checkTrackPosition(long) - Method in class org.bff.javampd.monitor.MPDEventMonitor
Checks the track position and fires a TrackPositionChangeEvent if there has been a change in track position.
clearerror() - Method in class org.bff.javampd.MPD
Clears the current error message in the MPD status
clearPlaylist() - Method in class org.bff.javampd.MPDPlaylist
Removes all songs from the playlist.
close() - Method in class org.bff.javampd.MPD
Closes the connection to the MPD server.
ConnectionChangeEvent - Class in org.bff.javampd.events
An event used to identify a change in connection status.
ConnectionChangeEvent(Object, boolean) - Constructor for class org.bff.javampd.events.ConnectionChangeEvent
Creates a new instance of ConnectionChangeEvent
ConnectionChangeEvent(Object, boolean, String) - Constructor for class org.bff.javampd.events.ConnectionChangeEvent
Creates a new instance of ConnectionChangeEvent
connectionChangeEventReceived(ConnectionChangeEvent) - Method in interface org.bff.javampd.events.ConnectionChangeListener
Invoked when a connection change event occurs.
ConnectionChangeListener - Interface in org.bff.javampd.events
The listener interface for receiving connection change events.
convertResponseToSong(List<String>) - Method in class org.bff.javampd.MPD
Converts the response from the MPD server into a MPDSong object.

D

deletePlaylist(String) - Method in class org.bff.javampd.MPDPlaylist
Deletes the playlist from the MPD server.

E

equals(Object) - Method in class org.bff.javampd.MPDSong
Compares this MPDSong to the specified object.
errorEventReceived(MPDErrorEvent) - Method in interface org.bff.javampd.events.MPDErrorListener
Invoked when a MPD error occurs.

F

findAlbum(String) - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of MPDSongs for an artist.
findAlbumByArtist(String, String) - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of MPDSongs for an album by a particulat artist.
findArtist(String) - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of MPDSongs for an artist.
findTitle(String) - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of MPDSongs for a title.
fireConnectionChangeEvent(boolean, String) - Method in class org.bff.javampd.monitor.MPDEventMonitor
Sends the appropriate ConnectionChangeEvent to all registered ConnectionChangeListeners.
fireMPDChangeEvent(int) - Method in class org.bff.javampd.monitor.MPDEventRelayer
Sends the appropriate MPDChangeEvent to all registered MPDChangeListeners.
fireMPDChangeEvent(int) - Method in class org.bff.javampd.MPDAdmin
Sends the appropriate MPDChangeEvent to all registered MPDChangeListeners.
fireMPDErrorEvent(String) - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Sends the appropriate MPDErrorListener to all registered MPDErrorListeners.
firePlayerChangeEvent(int) - Method in class org.bff.javampd.monitor.MPDEventRelayer
Sends the appropriate PlayerChangeEvent to all registered PlayerChangeListeners.
firePlayerChangeEvent(int) - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Sends the appropriate PlayerBasicChangeEvent to all registered PlayerBasicChangeListeners.
firePlayerChangeEvent(int) - Method in class org.bff.javampd.MPDPlayer
Sends the appropriate PlayerChangeEvent to all registered PlayerChangeListeners.
firePlaylistChangeEvent(int) - Method in class org.bff.javampd.monitor.MPDEventRelayer
Sends the appropriate PlaylistChangeEvent to all registered PlaylistChangeListener.
firePlaylistChangeEvent(int) - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Sends the appropriate PlaylistChangeEvent to all registered PlaylistChangeListener.
firePlaylistChangeEvent(int) - Method in class org.bff.javampd.MPDPlaylist
Sends the appropriate PlaylistChangeEvent to all registered PlaylistChangeListener.
fireTrackPositionChangeEvent(long) - Method in class org.bff.javampd.monitor.MPDEventMonitor
Sends the appropriate TrackPositionChangeEvent to all registered TrackPositionChangeListeners.
fireVolumeChangeEvent(int) - Method in class org.bff.javampd.monitor.MPDEventRelayer
Sends the appropriate VolumeChangeEvent to all registered VolumeChangeListener.
fireVolumeChangeEvent(int) - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Sends the appropriate VolumeChangeEvent to all registered VolumeChangeListener.
fireVolumeChangeEvent(int) - Method in class org.bff.javampd.MPDPlayer
Sends the appropriate VolumeChangeEvent to all registered VolumeChangeListener.

G

getAlbum() - Method in class org.bff.javampd.MPDSong
Returns the name of the album.
getAlbumCount() - Method in class org.bff.javampd.MPDDatabase
Returns the total number of albums in the database.
getArtist() - Method in class org.bff.javampd.MPDSong
Returns the name of the artist.
getArtistCount() - Method in class org.bff.javampd.MPDDatabase
Returns the total number of artists in the database.
getBitrate() - Method in class org.bff.javampd.MPDPlayer
Returns the instantaneous bitrate of the currently playing song.
getCommand() - Method in exception org.bff.javampd.exception.MPDResponseException
 
getCommand() - Method in class org.bff.javampd.MPDCommand
Returns the command od this object.
getComment() - Method in class org.bff.javampd.MPDSong
Returns the comment tag of the song.
getCurrentSong() - Method in class org.bff.javampd.MPDPlayer
Returns the current song either playing or queued for playing.
getCurrentSong() - Method in class org.bff.javampd.MPDPlaylist
Returns the current song.
getDaemonUpTime() - Method in class org.bff.javampd.MPDAdmin
Returns the daemon uptime in seconds.
getDbPlayTime() - Method in class org.bff.javampd.MPDDatabase
Returns the sum of all song times in database.
getElapsedTime() - Method in class org.bff.javampd.events.TrackPositionChangeEvent
Returns the elapsed time of the playing song.
getElapsedTime() - Method in class org.bff.javampd.MPDPlayer
Returns the elapsed time of the current song in seconds.
getFile() - Method in class org.bff.javampd.MPDSong
Returns the path of the song without a leading or trailing slash.
getGenre() - Method in class org.bff.javampd.MPDSong
Returns the genre of the song.
getId() - Method in class org.bff.javampd.events.MPDChangeEvent
Returns specific id of the event that occurred.
getId() - Method in class org.bff.javampd.events.PlayerBasicChangeEvent
Returns specific id of the event that occurred.
getId() - Method in class org.bff.javampd.events.PlayerChangeEvent
Returns specific id of the event that occurred.
getId() - Method in class org.bff.javampd.events.PlaylistBasicChangeEvent
Returns specific id of the event that occurred.
getId() - Method in class org.bff.javampd.events.PlaylistChangeEvent
Returns specific id of the event that occurred.
getId() - Method in class org.bff.javampd.MPDSong
Returns the playlist song id for the song.
getLastError() - Method in class org.bff.javampd.MPD
Returns the last error generated by isResponseOK.
getLastUpdateTime() - Method in class org.bff.javampd.MPDDatabase
Returns the last database update in UNIX time.
getLength() - Method in class org.bff.javampd.MPDSong
Returns the length of the song in seconds.
getMpd() - Method in class org.bff.javampd.MPDDatabase
Returns the mpd this database class is using.
getMPDAdmin() - Method in class org.bff.javampd.MPD
Returns a MPDAdmin using this class as the connection for the administrator.
getMPDDatabase() - Method in class org.bff.javampd.MPD
Returns a MPDDatabase using this class as the connection for the database.
getMPDEventRelayer() - Method in class org.bff.javampd.MPD
Returns a MPDEventRelayer using this class as the connection.
getMPDPlayer() - Method in class org.bff.javampd.MPD
Returns a MPDPlayer using this class as the connection for the player.
getMPDPlaylist() - Method in class org.bff.javampd.MPD
Returns a MPDPlaylist using this class as the connection for the playlist.
getMsg() - Method in class org.bff.javampd.events.ConnectionChangeEvent
Returns the message attached to this event.
getMsg() - Method in class org.bff.javampd.events.MPDChangeEvent
Returns the message attached to this event.
getMsg() - Method in class org.bff.javampd.events.MPDErrorEvent
Returns the message attached to this event.
getMsg() - Method in class org.bff.javampd.events.PlayerBasicChangeEvent
Returns the message attached to this event.
getMsg() - Method in class org.bff.javampd.events.PlayerChangeEvent
Returns the message attached to this event.
getMsg() - Method in class org.bff.javampd.events.PlaylistBasicChangeEvent
Returns the message attached to this event.
getMsg() - Method in class org.bff.javampd.events.PlaylistChangeEvent
Returns the message attached to this event.
getMsg() - Method in class org.bff.javampd.events.VolumeChangeEvent
Returns the message attached to this event.
getParams() - Method in class org.bff.javampd.MPDCommand
Returns the parameter(s) of this command as a List of Strings.
getPlaytime() - Method in class org.bff.javampd.MPD
Returns the time length of the music played since the server was started.
getPosition() - Method in class org.bff.javampd.MPDSong
Returns the position of the song in the playlist.
getServerStat(MPD.StatList) - Method in class org.bff.javampd.MPD
Returns the statistics of the requested statistics element.
getSongCount() - Method in class org.bff.javampd.MPDDatabase
Returns the total number of songs in the database.
getSongList() - Method in class org.bff.javampd.MPDPlaylist
Returns the list of songs in the playlist.
getStatus() - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Returns the current status of the player.
getStatus() - Method in class org.bff.javampd.MPD
Returns the full status of the MPD server as a Collection of Strings.
getStatus(MPD.StatusList) - Method in class org.bff.javampd.MPD
Returns the current status of the requested status element.
getStatus() - Method in class org.bff.javampd.MPDPlayer
Returns the current status of the player.
getTitle() - Method in class org.bff.javampd.MPDSong
Returns the name of the song.
getTrack() - Method in class org.bff.javampd.MPDSong
Returns the track number of the song.
getUptime() - Method in class org.bff.javampd.MPD
Returns the MPD server daemon uptime in seconds.
getVersion() - Method in class org.bff.javampd.MPD
Returns the MPD version running on the server.
getVersion() - Method in class org.bff.javampd.MPDPlaylist
Returns the playlist version.
getVolume() - Method in class org.bff.javampd.MPDPlayer
Returns the current volume of the player.
getXFade() - Method in class org.bff.javampd.MPDPlayer
Returns the cross fade of the player in seconds.
getYear() - Method in class org.bff.javampd.MPDSong
Returns the year of the song.

H

hashCode() - Method in class org.bff.javampd.MPDSong
Returns the hash code for this object.

I

isConnected() - Method in class org.bff.javampd.events.ConnectionChangeEvent
Returns true if there is a connection with the MPD server.
isConnected() - Method in class org.bff.javampd.MPD
Determines if there is a connection to the MPD server.
isRepeat() - Method in class org.bff.javampd.MPDPlayer
Returns if the player is repeating.
isStopped() - Method in class org.bff.javampd.monitor.MPDEventRelayer
Returns true if the monitor is stopped, false if the monitor is still running.
isStopped() - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Returns true if the monitor is stopped, false if the monitor is still running.

K

killMPD() - Method in class org.bff.javampd.MPDAdmin
Kills the mpd connection.

L

listAlbumsByArtist(String) - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of Strings of all albums by a particular artist.
listAllAlbums() - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of Strings of all albums in the database.
listAllArtists() - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of Strings of all artists in the database.
listAllFiles() - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of Strings of all songs and directories from the mpd root.
listAllFiles(String) - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of Strings of all songs and directories from the given path.
listAllGenres() - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of Strings of all genres in the database.
listAllSongFiles() - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of Strings of all songs from the mpd root.
listAllSongFiles(String) - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of Strings of all songs from the given path.
listAllSongs() - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of MPDSongs of all songs from the mpd root.
listAllSongs(String) - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of MPDSongs of all songs from the given path.
listPlaylists() - Method in class org.bff.javampd.MPDDatabase
Returns a list of all available playlist names on the server.
listPlaylistSongs(String) - Method in class org.bff.javampd.MPDDatabase
 
loadPlaylist(String) - Method in class org.bff.javampd.MPDPlaylist
Loads the songs in the given playlist to the current playlist.

M

move(MPDSong, int) - Method in class org.bff.javampd.MPDPlaylist
Moves the desired song to the given position in the playlist.
MPD - Class in org.bff.javampd
MPD represents a connection to a MPD server.
MPD(String) - Constructor for class org.bff.javampd.MPD
Creates a new instance of MPD without authentication using the default MPD port of 6600
MPD(String, int) - Constructor for class org.bff.javampd.MPD
Creates a new instance of MPD without authentication
MPD(String, int, String) - Constructor for class org.bff.javampd.MPD
Creates a new instance of MPD with authentication.
MPD_KILLED - Static variable in class org.bff.javampd.events.MPDChangeEvent
administrator killed the connection
MPD_REFRESHED - Static variable in class org.bff.javampd.events.MPDChangeEvent
administrator refreshed the database
MPDAdmin - Class in org.bff.javampd
MPDAdmin represents a administrative controller to a MPD server.
MPDAdminException - Exception in org.bff.javampd.exception
Represents an error with the MPDPlayer.
MPDAdminException() - Constructor for exception org.bff.javampd.exception.MPDAdminException
Constructor.
MPDAdminException(String) - Constructor for exception org.bff.javampd.exception.MPDAdminException
Class constructor specifying the message.
MPDAdminException(String, String) - Constructor for exception org.bff.javampd.exception.MPDAdminException
Class constructor specifying the message and command generating the error.
MPDAdminException(Throwable) - Constructor for exception org.bff.javampd.exception.MPDAdminException
Class contructor specifying the cause.
MPDAdminException(String, Throwable) - Constructor for exception org.bff.javampd.exception.MPDAdminException
Class constructor specifying the message and cause.
mpdChanged(MPDChangeEvent) - Method in interface org.bff.javampd.events.MPDChangeListener
Invoked when a mpd administrative change event occurs.
mpdChanged(MPDChangeEvent) - Method in class org.bff.javampd.monitor.MPDEventRelayer
Invoked when a mpd administrative change action occurs.
MPDChangeEvent - Class in org.bff.javampd.events
An event used to identify an administrative action.
MPDChangeEvent(Object, int) - Constructor for class org.bff.javampd.events.MPDChangeEvent
Creates a new instance of MusicPlayerStatusChangedEvent
MPDChangeEvent(Object, int, String) - Constructor for class org.bff.javampd.events.MPDChangeEvent
Creates a new instance of MusicPlayerStatusChangedEvent
MPDChangeListener - Interface in org.bff.javampd.events
The listener interface for receiving MPD administrative change events.
MPDCommand - Class in org.bff.javampd
MPDCommand represents a command along with optional command paramaters to be sent to a MPD server.
MPDCommand(String) - Constructor for class org.bff.javampd.MPDCommand
Constructor for MPD command for a command requiring no parameters.
MPDCommand(String, String) - Constructor for class org.bff.javampd.MPDCommand
Constructor for MPD command for a command requiring a single parameter.
MPDCommand(String, String[]) - Constructor for class org.bff.javampd.MPDCommand
Constructor for MPD command for a command requiring more than 1 paramaeter.
MPDConnectionException - Exception in org.bff.javampd.exception
Represents an error with the MPD connection.
MPDConnectionException() - Constructor for exception org.bff.javampd.exception.MPDConnectionException
Constructor.
MPDConnectionException(String) - Constructor for exception org.bff.javampd.exception.MPDConnectionException
Class constructor specifying the message.
MPDConnectionException(Throwable) - Constructor for exception org.bff.javampd.exception.MPDConnectionException
Class contructor specifying the cause.
MPDConnectionException(String, Throwable) - Constructor for exception org.bff.javampd.exception.MPDConnectionException
Class constructor specifying the message and cause.
MPDDatabase - Class in org.bff.javampd
MPDDatabase represents a database controller to a MPD server.
MPDDatabaseException - Exception in org.bff.javampd.exception
Represents an error with the MPDDatabase.
MPDDatabaseException() - Constructor for exception org.bff.javampd.exception.MPDDatabaseException
Constructor.
MPDDatabaseException(String) - Constructor for exception org.bff.javampd.exception.MPDDatabaseException
Class constructor specifying the message.
MPDDatabaseException(String, String) - Constructor for exception org.bff.javampd.exception.MPDDatabaseException
Class constructor specifying the message and command generating the error.
MPDDatabaseException(Throwable) - Constructor for exception org.bff.javampd.exception.MPDDatabaseException
Class contructor specifying the cause.
MPDDatabaseException(String, Throwable) - Constructor for exception org.bff.javampd.exception.MPDDatabaseException
Class constructor specifying the message and cause.
MPDErrorEvent - Class in org.bff.javampd.events
An event used to identify a MPD error.
MPDErrorEvent(Object) - Constructor for class org.bff.javampd.events.MPDErrorEvent
Creates a new instance of MPDErrorEvent
MPDErrorEvent(Object, String) - Constructor for class org.bff.javampd.events.MPDErrorEvent
Creates a new instance of MPDErrorEvent
MPDErrorListener - Interface in org.bff.javampd.events
The listener interface for receiving MPD error events.
MPDEventMonitor - Class in org.bff.javampd.monitor
MPDEventMonitor is the abstract base class for all event monitors.
MPDEventMonitor(MPD) - Constructor for class org.bff.javampd.monitor.MPDEventMonitor
Only contructor for this abstract base class.
MPDEventRelayer - Class in org.bff.javampd.monitor
MPDEventRelayer is a convenience class for relaying events from MPDPlaylist, MPDPlayer, and MPDAdmin.
MPDEventRelayer(MPD) - Constructor for class org.bff.javampd.monitor.MPDEventRelayer
Creates a new instance of MPDEventMonitor using the default delay of 1 second for TrackPositionChangeEvents
MPDEventRelayer(MPD, int) - Constructor for class org.bff.javampd.monitor.MPDEventRelayer
Creates a new instance of MPDEventMonitor using the given delay for TrackPositionChangeEvents
MPDException - Exception in org.bff.javampd.exception
Abstract base class for MPD Exceptions.
MPDException() - Constructor for exception org.bff.javampd.exception.MPDException
Constructor.
MPDException(String) - Constructor for exception org.bff.javampd.exception.MPDException
Class constructor specifying the message.
MPDException(Throwable) - Constructor for exception org.bff.javampd.exception.MPDException
Class contructor specifying the cause.
MPDException(String, Throwable) - Constructor for exception org.bff.javampd.exception.MPDException
Class constructor specifying the message and cause.
MPDPlayer - Class in org.bff.javampd
MPDPlayer represents a player controller to a MPD server.
MPDPlayer.PlayerStatus - Enum in org.bff.javampd
The status of the player.
MPDPlayerException - Exception in org.bff.javampd.exception
Represents an error with the MPDPlayer.
MPDPlayerException() - Constructor for exception org.bff.javampd.exception.MPDPlayerException
Constructor.
MPDPlayerException(String) - Constructor for exception org.bff.javampd.exception.MPDPlayerException
Class constructor specifying the message.
MPDPlayerException(String, String) - Constructor for exception org.bff.javampd.exception.MPDPlayerException
Class constructor specifying the message and command generating the error.
MPDPlayerException(Throwable) - Constructor for exception org.bff.javampd.exception.MPDPlayerException
Class contructor specifying the cause.
MPDPlayerException(String, Throwable) - Constructor for exception org.bff.javampd.exception.MPDPlayerException
Class constructor specifying the message and cause.
MPDPlaylist - Class in org.bff.javampd
MPDPlaylist represents a playlist controller to a MPD server.
MPDPlaylistException - Exception in org.bff.javampd.exception
Represents an error with the MPDPlaylist.
MPDPlaylistException() - Constructor for exception org.bff.javampd.exception.MPDPlaylistException
Constructor.
MPDPlaylistException(String) - Constructor for exception org.bff.javampd.exception.MPDPlaylistException
Class constructor specifying the message.
MPDPlaylistException(String, String) - Constructor for exception org.bff.javampd.exception.MPDPlaylistException
Class constructor specifying the message and command generating the error.
MPDPlaylistException(Throwable) - Constructor for exception org.bff.javampd.exception.MPDPlaylistException
Class contructor specifying the cause.
MPDPlaylistException(String, Throwable) - Constructor for exception org.bff.javampd.exception.MPDPlaylistException
Class constructor specifying the message and cause.
MPDResponseException - Exception in org.bff.javampd.exception
Represents an error with the MPD response.
MPDResponseException() - Constructor for exception org.bff.javampd.exception.MPDResponseException
Constructor.
MPDResponseException(String) - Constructor for exception org.bff.javampd.exception.MPDResponseException
Class constructor specifying the message.
MPDResponseException(String, String) - Constructor for exception org.bff.javampd.exception.MPDResponseException
Class constructor specifying the message and command generating the error.
MPDResponseException(Throwable) - Constructor for exception org.bff.javampd.exception.MPDResponseException
Class contructor specifying the cause.
MPDResponseException(String, Throwable) - Constructor for exception org.bff.javampd.exception.MPDResponseException
Class constructor specifying the message and cause.
MPDSong - Class in org.bff.javampd
MPDSong represents a song in the MPD database that can be inserted into a playlist.
MPDSong() - Constructor for class org.bff.javampd.MPDSong
Creates a new instance of MPDSong
MPDStandAloneMonitor - Class in org.bff.javampd.monitor
MPDStandAloneMonitor monitors a MPD connection by querying the status and statistics of the MPD server at given delay intervals.
MPDStandAloneMonitor(MPD) - Constructor for class org.bff.javampd.monitor.MPDStandAloneMonitor
Creates a new instance of MPDStandAloneMonitor using the default delay of 1 second.
MPDStandAloneMonitor(MPD, int) - Constructor for class org.bff.javampd.monitor.MPDStandAloneMonitor
Creates a new instance of MPDStandAloneMonitor using the given delay interval for queries.
MPDStandAloneMonitor.PlayerStatus - Enum in org.bff.javampd.monitor
The status of the player.
mute() - Method in class org.bff.javampd.MPDPlayer
Mutes the volume of the player.

O

org.bff.javampd - package org.bff.javampd
 
org.bff.javampd.events - package org.bff.javampd.events
 
org.bff.javampd.exception - package org.bff.javampd.exception
 
org.bff.javampd.monitor - package org.bff.javampd.monitor
 

P

pause() - Method in class org.bff.javampd.MPDPlayer
Pauses the player.
play() - Method in class org.bff.javampd.MPDPlayer
Starts the player.
PLAYER_BITRATE_CHANGE - Static variable in class org.bff.javampd.events.PlayerBasicChangeEvent
the players instantaneous bitrate changed
PLAYER_MUTED - Static variable in class org.bff.javampd.events.PlayerChangeEvent
the volume was muted
PLAYER_NEXT - Static variable in class org.bff.javampd.events.PlayerChangeEvent
the player requesting the next song in the playlist
PLAYER_PAUSED - Static variable in class org.bff.javampd.events.PlayerBasicChangeEvent
the player was paused
PLAYER_PAUSED - Static variable in class org.bff.javampd.events.PlayerChangeEvent
the player was paused
PLAYER_PREVIOUS - Static variable in class org.bff.javampd.events.PlayerChangeEvent
the player requesting the previous song in the playlist
PLAYER_SEEKING - Static variable in class org.bff.javampd.events.PlayerChangeEvent
the player is seeking within a song
PLAYER_SONG_SET - Static variable in class org.bff.javampd.events.PlayerChangeEvent
a specific song was requested by the player
PLAYER_STARTED - Static variable in class org.bff.javampd.events.PlayerBasicChangeEvent
the player was started
PLAYER_STARTED - Static variable in class org.bff.javampd.events.PlayerChangeEvent
the player was started
PLAYER_STOPPED - Static variable in class org.bff.javampd.events.PlayerBasicChangeEvent
the player was stopped
PLAYER_STOPPED - Static variable in class org.bff.javampd.events.PlayerChangeEvent
the player was stopped
PLAYER_UNMUTED - Static variable in class org.bff.javampd.events.PlayerChangeEvent
the volume was unmuted
PLAYER_UNPAUSED - Static variable in class org.bff.javampd.events.PlayerBasicChangeEvent
the player was taken off pause
PLAYER_UNPAUSED - Static variable in class org.bff.javampd.events.PlayerChangeEvent
the player was taken off pause
playerBasicChange(PlayerBasicChangeEvent) - Method in interface org.bff.javampd.events.PlayerBasicChangeListener
Invoked when a player change event occurs.
PlayerBasicChangeEvent - Class in org.bff.javampd.events
Represents a change in the status of a music player.
PlayerBasicChangeEvent(Object, int) - Constructor for class org.bff.javampd.events.PlayerBasicChangeEvent
Creates a new instance of PlayerBasicChangeEvent
PlayerBasicChangeEvent(Object, int, String) - Constructor for class org.bff.javampd.events.PlayerBasicChangeEvent
Creates a new instance of PlayerBasicChangeEvent
PlayerBasicChangeListener - Interface in org.bff.javampd.events
The listener interface for receiving basic player events.
playerChanged(PlayerChangeEvent) - Method in interface org.bff.javampd.events.PlayerChangeListener
Invoked when a player change event occurs.
playerChanged(PlayerChangeEvent) - Method in class org.bff.javampd.monitor.MPDEventRelayer
Invoked when a player change event occurs.
PlayerChangeEvent - Class in org.bff.javampd.events
Represents a change in the status of a MPD music player.
PlayerChangeEvent(Object, int) - Constructor for class org.bff.javampd.events.PlayerChangeEvent
Creates a new instance of PlayerChangeEvent
PlayerChangeEvent(Object, int, String) - Constructor for class org.bff.javampd.events.PlayerChangeEvent
Creates a new instance of PlayerChangeEvent
PlayerChangeListener - Interface in org.bff.javampd.events
The listener interface for receiving player events.
playId(MPDSong) - Method in class org.bff.javampd.MPDPlayer
Starts the player with the specified song.
PLAYLIST_ADDED - Static variable in class org.bff.javampd.events.PlaylistChangeEvent
a playlist was appended to this playlist
PLAYLIST_CHANGED - Static variable in class org.bff.javampd.events.PlaylistBasicChangeEvent
the playlist version was changed
PLAYLIST_CHANGED - Static variable in class org.bff.javampd.events.PlaylistChangeEvent
the playlist version was changed
PLAYLIST_CLEARED - Static variable in class org.bff.javampd.events.PlaylistChangeEvent
the playlist was cleared
PLAYLIST_DELETED - Static variable in class org.bff.javampd.events.PlaylistChangeEvent
the playlist was deleted
PLAYLIST_ENDED - Static variable in class org.bff.javampd.events.PlaylistBasicChangeEvent
the end of the playlist is reached and the player has stopped
PLAYLIST_LOADED - Static variable in class org.bff.javampd.events.PlaylistChangeEvent
the playlist was loaded
PLAYLIST_SAVED - Static variable in class org.bff.javampd.events.PlaylistChangeEvent
the playlist was changed
playlistBasicChange(PlaylistBasicChangeEvent) - Method in interface org.bff.javampd.events.PlaylistBasicChangeListener
Invoked when a playlist event occurs.
PlaylistBasicChangeEvent - Class in org.bff.javampd.events
Represents a change in the status of a MPD music playlist.
PlaylistBasicChangeEvent(Object, int) - Constructor for class org.bff.javampd.events.PlaylistBasicChangeEvent
Creates a new instance of PlayListBasicChangeEvent
PlaylistBasicChangeEvent(Object, int, String) - Constructor for class org.bff.javampd.events.PlaylistBasicChangeEvent
Creates a new instance of PlayListBasicChangeEvent
PlaylistBasicChangeListener - Interface in org.bff.javampd.events
The listener interface for receiving basic playlist events.
playlistChanged(PlaylistChangeEvent) - Method in interface org.bff.javampd.events.PlaylistChangeListener
Invoked when a playlist event occurs.
playlistChanged(PlaylistChangeEvent) - Method in class org.bff.javampd.monitor.MPDEventRelayer
Invoked when a mpd playlist change event occurs.
PlaylistChangeEvent - Class in org.bff.javampd.events
Represents a change in the status of a MPD playlist.
PlaylistChangeEvent(Object, int) - Constructor for class org.bff.javampd.events.PlaylistChangeEvent
Creates a new instance of PlayListChangeEvent
PlaylistChangeEvent(Object, int, String) - Constructor for class org.bff.javampd.events.PlaylistChangeEvent
Creates a new instance of PlayListChangeEvent
PlaylistChangeListener - Interface in org.bff.javampd.events
The listener interface for receiving playlist events.
playNext() - Method in class org.bff.javampd.MPDPlayer
Plays the next song in the playlist.
playPrev() - Method in class org.bff.javampd.MPDPlayer
Plays the previous song in the playlist.

R

removeConnectionChangeListener(ConnectionChangeListener) - Method in class org.bff.javampd.monitor.MPDEventMonitor
Removes a ConnectionChangeListener from this object.
removeMPDChangedListener(MPDChangeListener) - Method in class org.bff.javampd.monitor.MPDEventRelayer
Removes a MPDChangeListener from this object.
removeMPDErrorListener(MPDErrorListener) - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Removes a MPDErrorListener from this object.
removePlayerChangedListener(PlayerChangeListener) - Method in class org.bff.javampd.monitor.MPDEventRelayer
Removes a PlayerChangeListener from this object.
removePlayerChangedListener(MPDChangeListener) - Method in class org.bff.javampd.MPDAdmin
Removes a MPDChangeListener from this object.
removePlayerChangedListener(PlayerChangeListener) - Method in class org.bff.javampd.MPDPlayer
Removes a PlayerChangeListener from this object.
removePlayerChangeListener(PlayerBasicChangeListener) - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Removes a PlayerBasicChangeListener from this object.
removePlaylistStatusChangedListener(PlaylistBasicChangeListener) - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Removes a PlaylistBasicChangeListener from this object.
removePlaylistStatusChangedListener(PlaylistChangeListener) - Method in class org.bff.javampd.MPDPlaylist
Removes a PlaylistChangeListener from this object.
removeSlashes(String) - Static method in class org.bff.javampd.Utils
Removes leading or trailing slashes from a string.
removeSong(MPDSong) - Method in class org.bff.javampd.MPDPlaylist
Removes a MPDSong from the playlist.
removeTrackPositionChangeListener(TrackPositionChangeListener) - Method in class org.bff.javampd.monitor.MPDEventMonitor
Removes a TrackPositionChangeListener from this object.
removeVolumeChangedListener(VolumeChangeListener) - Method in class org.bff.javampd.monitor.MPDEventRelayer
Removes a VolumeChangeListener from this object.
removeVolumeChangedListener(VolumeChangeListener) - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Removes a VolumeChangeListener from this object.
removeVolumeChangedListener(VolumeChangeListener) - Method in class org.bff.javampd.MPDPlayer
Removes a VolumeChangeListener from this object.
run() - Method in class org.bff.javampd.monitor.MPDEventRelayer
Implements the Runnable run method to monitor the MPD connection.
run() - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Implements the Runnable run method to monitor the MPD connection.

S

savePlaylist(String) - Method in class org.bff.javampd.MPDPlaylist
Saves the current playlist as the passed playlist name.
searchAlbum(String) - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of MPDSongs for an any album containing the parameter album.
searchArtist(String) - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of MPDSongs for an any artist containing the parameter artist.
searchFileName(String) - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of MPDSongs for an any file name containing the parameter filename.
searchTitle(String) - Method in class org.bff.javampd.MPDDatabase
Returns a Collection of MPDSongs for an any title containing the parameter title.
seek(long) - Method in class org.bff.javampd.MPDPlayer
Seeks to the desired location in the current song.
seekId(MPDSong, long) - Method in class org.bff.javampd.MPDPlayer
Seeks to the desired location in the specified song.
setAlbum(String) - Method in class org.bff.javampd.MPDSong
Sets the name of the album.
setArtist(String) - Method in class org.bff.javampd.MPDSong
Sets the name of the artist.
setComment(String) - Method in class org.bff.javampd.MPDSong
Sets the comment tag of the song
setFile(String) - Method in class org.bff.javampd.MPDSong
Sets the path of the song.
setGenre(String) - Method in class org.bff.javampd.MPDSong
Sets the genre of the song
setId(int) - Method in class org.bff.javampd.MPDSong
Sets the playlist song id for this MPDSong.
setLength(int) - Method in class org.bff.javampd.MPDSong
Sets the length of the song.
setMpd(MPD) - Method in class org.bff.javampd.MPDDatabase
Set the mpd connection this class is using.
setPosition(int) - Method in class org.bff.javampd.MPDSong
Sets the playlist position for a song.
setRepeat(boolean) - Method in class org.bff.javampd.MPDPlayer
Sets the repeating status of the player.
setTitle(String) - Method in class org.bff.javampd.MPDSong
Sets the name of the song.
setTrack(int) - Method in class org.bff.javampd.MPDSong
Sets the track number of the song
setVolume(int) - Method in class org.bff.javampd.MPDPlayer
Sets the volume of the player.
setXFade(int) - Method in class org.bff.javampd.MPDPlayer
Sets the cross fade of the player in seconds.
setYear(String) - Method in class org.bff.javampd.MPDSong
Sets the year of the song
shuffle() - Method in class org.bff.javampd.MPDPlaylist
Shuffles the songs in the playlist.
SONG_ADDED - Static variable in class org.bff.javampd.events.PlaylistBasicChangeEvent
a song was added
SONG_ADDED - Static variable in class org.bff.javampd.events.PlaylistChangeEvent
a song was added
SONG_CHANGED - Static variable in class org.bff.javampd.events.PlaylistBasicChangeEvent
a song was changed
SONG_DELETED - Static variable in class org.bff.javampd.events.PlaylistBasicChangeEvent
a song was deleted
SONG_DELETED - Static variable in class org.bff.javampd.events.PlaylistChangeEvent
a song was deleted
SONG_SELECTED - Static variable in class org.bff.javampd.events.PlaylistChangeEvent
a specific song was selected
SONGPREFIXALBUM - Static variable in class org.bff.javampd.MPD
the MPD prefix for the album
SONGPREFIXARTIST - Static variable in class org.bff.javampd.MPD
the MPD prefix for the artist
SONGPREFIXDATE - Static variable in class org.bff.javampd.MPD
the MPD prefix for the title
SONGPREFIXFILE - Static variable in class org.bff.javampd.MPD
the MPD prefix for the filename
SONGPREFIXGENRE - Static variable in class org.bff.javampd.MPD
the MPD prefix for the title
SONGPREFIXID - Static variable in class org.bff.javampd.MPD
the MPD prefix for the song id
SONGPREFIXPOS - Static variable in class org.bff.javampd.MPD
the MPD prefix for the playlist position
SONGPREFIXTIME - Static variable in class org.bff.javampd.MPD
the MPD prefix for the time
SONGPREFIXTITLE - Static variable in class org.bff.javampd.MPD
the MPD prefix for the title
SONGPREFIXTRACK - Static variable in class org.bff.javampd.MPD
the MPD prefix for the track number
start() - Method in class org.bff.javampd.monitor.MPDEventRelayer
Starts the monitor by creating and starting a thread using this instance as the Runnable interface.
start() - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Starts the monitor by creating and starting a thread using this instance as the Runnable interface.
STATUS_PAUSED - Static variable in class org.bff.javampd.MPD
status of paused
STATUS_PLAYING - Static variable in class org.bff.javampd.MPD
status of playing
STATUS_STOPPED - Static variable in class org.bff.javampd.MPD
status of stopped
stop() - Method in class org.bff.javampd.monitor.MPDEventRelayer
Stops the thread.
stop() - Method in class org.bff.javampd.monitor.MPDStandAloneMonitor
Stops the thread.
stop() - Method in class org.bff.javampd.MPDPlayer
Stops the player.
swap(MPDSong, MPDSong) - Method in class org.bff.javampd.MPDPlaylist
Swaps the given two songs in the playlist.

T

toString() - Method in class org.bff.javampd.MPDPlaylist
Returns the string representation of this playlist.
toString() - Method in class org.bff.javampd.MPDSong
Returns the string representation of this MPDSong.
trackPositionChanged(TrackPositionChangeEvent) - Method in interface org.bff.javampd.events.TrackPositionChangeListener
Invoked when a track position change occurs.
TrackPositionChangeEvent - Class in org.bff.javampd.events
Represents a change in the position of a playing song.
TrackPositionChangeEvent(Object, long) - Constructor for class org.bff.javampd.events.TrackPositionChangeEvent
Creates a new instance of TrackPositionEvent.
TrackPositionChangeListener - Interface in org.bff.javampd.events
The listener interface for receiving track position change events.

U

unMute() - Method in class org.bff.javampd.MPDPlayer
Unmutes the volume of the player.
updateDatabase() - Method in class org.bff.javampd.MPDAdmin
Updates the MPD database by searching the mp3 directory for new music and removing the old music.
Utils - Class in org.bff.javampd
Utils contains only public static utility methods.
Utils() - Constructor for class org.bff.javampd.Utils
 

V

valueOf(String) - Static method in enum org.bff.javampd.monitor.MPDStandAloneMonitor.PlayerStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.bff.javampd.MPDPlayer.PlayerStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.bff.javampd.monitor.MPDStandAloneMonitor.PlayerStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.bff.javampd.MPDPlayer.PlayerStatus
Returns an array containing the constants of this enum type, in the order they are declared.
volumeChanged(VolumeChangeEvent) - Method in interface org.bff.javampd.events.VolumeChangeListener
Invoked when a mpd volume change event occurs.
VolumeChangeEvent - Class in org.bff.javampd.events
Represents a change in the volume of a MPD player.
VolumeChangeEvent(Object, int) - Constructor for class org.bff.javampd.events.VolumeChangeEvent
Creates a new instance of MusicPlayerStatusChangedEvent
VolumeChangeEvent(Object, int, String) - Constructor for class org.bff.javampd.events.VolumeChangeEvent
Creates a new instance of MusicPlayerStatusChangedEvent
VolumeChangeListener - Interface in org.bff.javampd.events
The listener interface for receiving volume change events.

A C D E F G H I K L M O P R S T U V