|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolution.player.core.media.search.SearchMatch
public abstract class SearchMatch
A match of a search. A search match knows which search provider it generated. The search match can also be converted into downloadable medias which can then be downloaded by the provided music loader. I.e. a search match representing an Album could be asked for all downloadable songs of that album.
Clients must implement.
SearchProvider
,
MusicLoader
Constructor Summary | |
---|---|
SearchMatch()
|
Method Summary | |
---|---|
abstract java.lang.String |
getLabel()
A human readable label for the match. |
abstract DownloadableMedia[] |
getMedias(IProgressMonitor monitor)
The downloadable medias for this search match. |
abstract MusicLoader |
getMusicLoader()
The music loader which can download the downloadable medias returned by getMedias(IProgressMonitor) . |
abstract SearchProvider |
getSearchProvider()
The provider which generated this match. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchMatch()
Method Detail |
---|
public abstract java.lang.String getLabel()
public abstract SearchProvider getSearchProvider()
public abstract DownloadableMedia[] getMedias(IProgressMonitor monitor)
getMusicLoader()
.
monitor
- a monitor to report progress to and to check for cancelation
public abstract MusicLoader getMusicLoader()
getMedias(IProgressMonitor)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |