public class AlbumDB
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Album[] |
findAlbum(java.lang.String title,
java.lang.String interpreter)
Retrieves the album wih the given title from the given interpreter.
|
Album[] |
findSongAlbum(java.lang.String songTitle,
java.lang.String interpreter)
Retrieves the album wih the given song of the given interpreter.
|
TrackResult[] |
findSongs(java.lang.String interpreter)
Retrieves all songs of the given interpreter.
|
java.lang.String[] |
getAllInterpreter()
Returns all existing interpreter.
|
static AlbumDB |
getInstance()
Returns the instance of this class.
|
public static AlbumDB getInstance()
public Album[] findAlbum(java.lang.String title, java.lang.String interpreter)
title
- interpreter
- public java.lang.String[] getAllInterpreter()
public Album[] findSongAlbum(java.lang.String songTitle, java.lang.String interpreter)
songTitle
- The title of the song to search for.interpreter
- The name of the interpreter to search for.public TrackResult[] findSongs(java.lang.String interpreter)
interpreter
- The name of the interpreter to search for.