public class DBSearch
extends java.lang.Object
Constructor and Description |
---|
DBSearch() |
Modifier and Type | Method and Description |
---|---|
static Album[] |
findAlbum(java.lang.String title,
java.lang.String interpreter)
Retrieves the album wih the given title from the given interpreter.
|
static Album[] |
findSongAlbum(java.lang.String songTitle,
java.lang.String interpreter)
Retrieves the album wih the given song of the given interpreter.
|
static TrackResult[] |
findSongs(java.lang.String interpreter)
Retrieves all songs of the given interpreter.
|
static java.lang.String[] |
getAllInterpreter()
Retrieves all existing interpreter.
|
public static Album[] findAlbum(java.lang.String title, java.lang.String interpreter)
title
- interpreter
- public static 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 static TrackResult[] findSongs(java.lang.String interpreter)
interpreter
- The name of the interpreter to search for.public static java.lang.String[] getAllInterpreter()