Uses of Class
com.breeweb.slimconnect.exception.DataException

Packages that use DataException
com.breeweb.slimconnect.commands   
com.breeweb.slimconnect.data   
com.breeweb.slimconnect.iface.delegate   
com.breeweb.slimconnect.test   
 

Uses of DataException in com.breeweb.slimconnect.commands
 

Methods in com.breeweb.slimconnect.commands that throw DataException
 java.lang.String AbstractCommand.getAsLine()
          Returns the command as a String which can be send to the Squeezebox server.
 

Uses of DataException in com.breeweb.slimconnect.data
 

Methods in com.breeweb.slimconnect.data that throw DataException
 java.lang.String ReturnData.getCommand()
          Returns the command as String
 java.lang.String ReturnData.decode(java.lang.String aString)
          Decodes the given string, This is used to remove any special characters written by the Squeezebox server and replace them with normal characters.
 java.lang.String ReturnData.getValue()
          returns the value for the ReturnData object as String
 java.lang.String DisplayReturnData.getValue()
           
 java.lang.String[] DisplayReturnData.getLines()
          returns the two lines on the display as String array.
 

Uses of DataException in com.breeweb.slimconnect.iface.delegate
 

Methods in com.breeweb.slimconnect.iface.delegate that throw DataException
static Slimp3Delegate Slimp3Delegate.getInstance(java.lang.String ip, int port)
          Returns a Slimp3Delegate interface to a SLIMP3 / Squeezebox server.
static Slimp3Delegate Slimp3Delegate.getInstance(java.lang.String ip, int port, Player aPlayer)
          Returns a Slimp3Delegate interface to a SLIMP3 / squizebox server, This method directly sets the player to which it should be bound.
 ReturnData Slimp3Delegate.setDisplay(java.lang.String line1, int timeInSeconds)
          Sets the text (line1) on the first line of the display for an number of seconds specified by timeInSeconds
 ReturnData Slimp3Delegate.setDisplay(java.lang.String line1, java.lang.String line2, int timeInSeconds)
          Sets the text (line1 and 2) on the display for an number of seconds specified by timeInSeconds
 DisplayReturnData Slimp3Delegate.getDisplay()
          Returns the current lines on the display.
 DisplayReturnData Slimp3Delegate.getDisplayNow()
          Shows exactly what's on the display, this includes any anymation.
 Player[] Slimp3Delegate.getPlayers()
          Returns an array of available Players
 Song Slimp3Delegate.getCurrentSong()
          Returns the current song playing
 void Slimp3Delegate.play()
          Sends the "play" command
 void Slimp3Delegate.togglePause()
          Toggles the pause mode.
 void Slimp3Delegate.setPause(boolean on)
          Set or unset the pause mode.
 void Slimp3Delegate.stop()
          Sends the stop command
 java.lang.String Slimp3Delegate.getMode()
          Gets the current mode.
 void Slimp3Delegate.setPower(boolean on)
          Switch power on|off
 boolean Slimp3Delegate.isPowerOn()
          indicates wether or not power is on.
 Playlist Slimp3Delegate.getCurrentPlayList()
          Returns the current playlist
 boolean Slimp3Delegate.shuffle()
          returns a boolean indicating if shuffle is enabled, now three modes are enabled (0,1,2).
 void Slimp3Delegate.setShuffle(boolean on)
          set suffle mode (en-/disable) note this might be changed in future releases, three modes are able.
 int Slimp3Delegate.repeat()
          returns the repeat mode (0,1,2).
 void Slimp3Delegate.setRepeat(int mode)
          Sets the repeat mode.
 double Slimp3Delegate.getSleep()
          Returns the time to play in seconds before going into sleep mode.
 void Slimp3Delegate.setSleep(double time)
          Sets the time to play in seconds before going into sleep mode.
 void Slimp3Delegate.playlistPlay(java.lang.String url)
          Puts the specified song URL, playlist or directory contents into the current playlist and plays starting at the first item.
 void Slimp3Delegate.playlistAdd(java.lang.String url)
          Adds the specified song URL, playlist or directory contents to the end of the current playlist.
 void Slimp3Delegate.playlistInsert(java.lang.String url)
          Inserts the specified song URL, playlist or directory contents to be played immediately after the current song in the current playlist.
 void Slimp3Delegate.playlistMove(int indexFrom, int indexTo)
          Moves the song at the specified index to a new index in the playlist.
 void Slimp3Delegate.playlistDelete(int index)
          Deletes the song at the specified index from the current playlist.
 void Slimp3Delegate.playlistResume(java.lang.String name)
          Replace the current playlist with the playlist specified by name, starting at the song that was playing when the file was saved.
 void Slimp3Delegate.playlistSave(java.lang.String name)
          Saves a playlist file in the saved playlists directory.
 void Slimp3Delegate.playlistLoadAlbum(PlaylistSearchCriteria criteria)
          Puts songs matching the specified genre artist and album criteria on the playlist.
 void Slimp3Delegate.playlistAddAlbum(PlaylistSearchCriteria criteria)
          Appends all songs matching the specified criteria onto the end of the playlist.
 void Slimp3Delegate.playlistClear()
          Removes any song that is on the playlist.
 int Slimp3Delegate.playlistGetIndex()
          Queries the song that is currently playing by index.
 void Slimp3Delegate.playlistSetIndex(int index)
          sets the current index within the playlist
 void Slimp3Delegate.playlistNext(int amount)
          next n numbers
 void Slimp3Delegate.playlistPrev(int amount)
          previous song
 ReturnData Slimp3Connection.sendCommand(AbstractCommand aCommand)
          Sends an command to the Slimp3Server and returns the response as ReturnData object.
 

Uses of DataException in com.breeweb.slimconnect.test
 

Methods in com.breeweb.slimconnect.test that throw DataException
 void TestSlimp3Delegate.testDisplay()
           
 void TestSlimp3Delegate.testGetPlayers()
          this test expects to have at least one player available.
 void TestSlimp3Delegate.testCurrentSong()
           
 void TestSlimp3Delegate.testControls()
           
 void TestSlimp3Delegate.testGetPlaylist()
           
 void TestSlimp3Delegate.testShufflePlaylist()
           
 void TestSlimp3Delegate.testRepeat()
           
 void TestSlimp3Delegate.testSleep()
           
 void TestSlimp3Delegate.testPlaylistPlay()
           
 void TestSlimp3Delegate.testPlaylistAdd()
           
 void TestSlimp3Delegate.testPlaylistInsert()
           
 void TestSlimp3Delegate.testPlaylistMove()
           
 void TestSlimp3Delegate.testPlaylistDelete()
           
 void TestSlimp3Delegate.testPlaylistMutateAndSave()
           
 void TestSlimp3Delegate.testPlaylistLoad()
           
 void TestSlimp3Delegate.testPlaylistAddAlbum()
           
 void TestSlimp3Delegate.testPlaylistClear()
           
 void TestSlimp3Delegate.testPlaylistIndex()