|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SearchType>
com.evolution.player.core.media.search.SearchType
public enum SearchType
Each search type defines a search which a search provider could perform.
Enum Constant Summary | |
---|---|
ALBUM
Search for an album based on a string. |
|
ALBUM_SONGS
Search for all songs from an album. |
|
ARTIST
Search for an artist based on a string. |
|
DISCOGRAPY
Search for all songs from an artist. |
|
SONG
Search for a song based on a string. |
Method Summary | |
---|---|
static SearchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SearchType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SearchType ALBUM
Search for an album based on a string.
In:IStringSearchPattern
SearchMatch#getMedias(org.eclipse.core.runtime.IProgressMonitor)
returns all downloadable songs from the album.
public static final SearchType ARTIST
Search for an artist based on a string.
In:IStringSearchPattern
SearchMatch#getMedias(org.eclipse.core.runtime.IProgressMonitor)
returns all downloadable songs from the artist.
public static final SearchType SONG
Search for a song based on a string.
In:IStringSearchPattern
SearchMatch#getMedias(org.eclipse.core.runtime.IProgressMonitor)
returns one downloadable media for the song.
public static final SearchType ALBUM_SONGS
Search for all songs from an album.
In:IMediaSearchPattern
SearchMatch#getMedias(org.eclipse.core.runtime.IProgressMonitor)
returns all downloadable songs from the album.
public static final SearchType DISCOGRAPY
Search for all songs from an artist.
In:IMediaSearchPattern
SearchMatch#getMedias(org.eclipse.core.runtime.IProgressMonitor)
returns all downloadable songs from the artist.
Method Detail |
---|
public static SearchType[] values()
for (SearchType c : SearchType.values()) System.out.println(c);
public static SearchType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |