Package com.tagtraum.audiokern
Interface AudioId
-
- All Known Implementing Classes:
Id
,StandardAudioId
public interface AudioId
Id for a piece of audio data. This could be a track id or e.g. an album id.- Author:
- Hendrik Schreiber
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AudioId.Type
-
Field Summary
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getGeneratorName()
URL
getGeneratorURL()
String
getGeneratorVersion()
String
getId()
boolean
isKnownGenerator()
Indicates whether the used generator name is known and whether this id can be validated usingisValid()
.boolean
isValid()
Validates the value of this id.void
setGeneratorName(String generatorName)
void
setGeneratorURL(URL generatorURL)
void
setGeneratorVersion(String generatorVersion)
void
setId(String id)
-
-
-
Field Detail
-
MUSIC_IP_PUID
static final String MUSIC_IP_PUID
- See Also:
- Constant Field Values
-
TUNE_CORTEX
static final String TUNE_CORTEX
- See Also:
- Constant Field Values
-
TUNE_CORTEX_RECORDING
static final String TUNE_CORTEX_RECORDING
- See Also:
- Constant Field Values
-
MUSIC_BRAINZ_ARTIST
static final String MUSIC_BRAINZ_ARTIST
- See Also:
- Constant Field Values
-
MUSIC_BRAINZ_ALBUM_ARTIST
static final String MUSIC_BRAINZ_ALBUM_ARTIST
- See Also:
- Constant Field Values
-
MUSIC_BRAINZ_ALBUM
static final String MUSIC_BRAINZ_ALBUM
- See Also:
- Constant Field Values
-
MUSIC_BRAINZ_RELASE_GROUP
static final String MUSIC_BRAINZ_RELASE_GROUP
- See Also:
- Constant Field Values
-
MUSIC_BRAINZ_TRACK
static final String MUSIC_BRAINZ_TRACK
- See Also:
- Constant Field Values
-
ASIN
static final String ASIN
- See Also:
- Constant Field Values
-
BARCODE
static final String BARCODE
- See Also:
- Constant Field Values
-
AMAZON_COM
static final String AMAZON_COM
- See Also:
- Constant Field Values
-
ISRC
static final String ISRC
- See Also:
- Constant Field Values
-
WIKIPEDIA_RELEASE_URL
static final String WIKIPEDIA_RELEASE_URL
- See Also:
- Constant Field Values
-
WIKIPEDIA_ARTIST_URL
static final String WIKIPEDIA_ARTIST_URL
- See Also:
- Constant Field Values
-
WIKIPEDIA_TRACK_URL
static final String WIKIPEDIA_TRACK_URL
- See Also:
- Constant Field Values
-
DISCOGS_RELEASE_URL
static final String DISCOGS_RELEASE_URL
- See Also:
- Constant Field Values
-
DISCOGS_MASTER_URL
static final String DISCOGS_MASTER_URL
- See Also:
- Constant Field Values
-
DISCOGS_ARTIST_URL
static final String DISCOGS_ARTIST_URL
- See Also:
- Constant Field Values
-
DISCOGS_PRIMARY_ARTWORK_URL
static final String DISCOGS_PRIMARY_ARTWORK_URL
- See Also:
- Constant Field Values
-
DISCOGS_SECONDARY_ARTWORK_URL
static final String DISCOGS_SECONDARY_ARTWORK_URL
- See Also:
- Constant Field Values
-
OFFICIAL_RELEASE_URL
static final String OFFICIAL_RELEASE_URL
- See Also:
- Constant Field Values
-
OFFICIAL_ARTIST_URL
static final String OFFICIAL_ARTIST_URL
- See Also:
- Constant Field Values
-
AMAZON_SMALL_IMAGE_URL
static final String AMAZON_SMALL_IMAGE_URL
- See Also:
- Constant Field Values
-
AMAZON_MEDIUM_IMAGE_URL
static final String AMAZON_MEDIUM_IMAGE_URL
- See Also:
- Constant Field Values
-
AMAZON_LARGE_IMAGE_URL
static final String AMAZON_LARGE_IMAGE_URL
- See Also:
- Constant Field Values
-
COVER_ART_ARCHIVE_SMALL_THUMB_URL
static final String COVER_ART_ARCHIVE_SMALL_THUMB_URL
- See Also:
- Constant Field Values
-
COVER_ART_ARCHIVE_LARGE_THUMB_URL
static final String COVER_ART_ARCHIVE_LARGE_THUMB_URL
- See Also:
- Constant Field Values
-
COVER_ART_ARCHIVE_IMAGE_URL
static final String COVER_ART_ARCHIVE_IMAGE_URL
- See Also:
- Constant Field Values
-
COVER_ART_ARCHIVE_SMALL_BACK_THUMB_URL
static final String COVER_ART_ARCHIVE_SMALL_BACK_THUMB_URL
- See Also:
- Constant Field Values
-
COVER_ART_ARCHIVE_LARGE_BACK_THUMB_URL
static final String COVER_ART_ARCHIVE_LARGE_BACK_THUMB_URL
- See Also:
- Constant Field Values
-
COVER_ART_ARCHIVE_BACK_IMAGE_URL
static final String COVER_ART_ARCHIVE_BACK_IMAGE_URL
- See Also:
- Constant Field Values
-
AMAZON_SONG_ID_PREFIX
static final String AMAZON_SONG_ID_PREFIX
- See Also:
- Constant Field Values
-
AMAZON_COM_GENERATOR_URL
static final String AMAZON_COM_GENERATOR_URL
- See Also:
- Constant Field Values
-
LYRICSFLY_URL
static final String LYRICSFLY_URL
- See Also:
- Constant Field Values
-
WIKIDATA_GENRE_IRI
static final String WIKIDATA_GENRE_IRI
- See Also:
- Constant Field Values
-
DBPEDIA_GENRE_IRI
static final String DBPEDIA_GENRE_IRI
- See Also:
- Constant Field Values
-
TAGTRAUM_INTL_GENRE_IRI
static final String TAGTRAUM_INTL_GENRE_IRI
- See Also:
- Constant Field Values
-
TAGTRAUM_ENG_GENRE_IRI
static final String TAGTRAUM_ENG_GENRE_IRI
- See Also:
- Constant Field Values
-
TAGTRAUM_ESP_GENRE_IRI
static final String TAGTRAUM_ESP_GENRE_IRI
- See Also:
- Constant Field Values
-
TAGTRAUM_DEU_GENRE_IRI
static final String TAGTRAUM_DEU_GENRE_IRI
- See Also:
- Constant Field Values
-
TAGTRAUM_FRA_GENRE_IRI
static final String TAGTRAUM_FRA_GENRE_IRI
- See Also:
- Constant Field Values
-
TAGTRAUM_NLD_GENRE_IRI
static final String TAGTRAUM_NLD_GENRE_IRI
- See Also:
- Constant Field Values
-
YOU_TUBE_ID
static final String YOU_TUBE_ID
- See Also:
- Constant Field Values
-
YOU_TUBE_CHANNEL_ID
static final String YOU_TUBE_CHANNEL_ID
- See Also:
- Constant Field Values
-
FACEBOOK_ID
static final String FACEBOOK_ID
- See Also:
- Constant Field Values
-
TWITTER_ID
static final String TWITTER_ID
- See Also:
- Constant Field Values
-
WIKIDATA_ARTIST_ID
static final String WIKIDATA_ARTIST_ID
- See Also:
- Constant Field Values
-
WIKIDATA_ALBUM_ID
static final String WIKIDATA_ALBUM_ID
- See Also:
- Constant Field Values
-
WIKIDATA_TRACK_ID
static final String WIKIDATA_TRACK_ID
- See Also:
- Constant Field Values
-
SPOTIFY_ARTIST_ID
static final String SPOTIFY_ARTIST_ID
- See Also:
- Constant Field Values
-
SPOTIFY_ALBUM_ID
static final String SPOTIFY_ALBUM_ID
- See Also:
- Constant Field Values
-
SPOTIFY_TRACK_ID
static final String SPOTIFY_TRACK_ID
- See Also:
- Constant Field Values
-
INSTAGRAM_ARTIST_ID
static final String INSTAGRAM_ARTIST_ID
- See Also:
- Constant Field Values
-
SOUNDCLOUD_ARTIST_ID
static final String SOUNDCLOUD_ARTIST_ID
- See Also:
- Constant Field Values
-
SOUNDCLOUD_TRACK_ID
static final String SOUNDCLOUD_TRACK_ID
- See Also:
- Constant Field Values
-
SOUNDCLOUD_ALBUM_ID
static final String SOUNDCLOUD_ALBUM_ID
- See Also:
- Constant Field Values
-
IMDB_ARTIST_ID
static final String IMDB_ARTIST_ID
- See Also:
- Constant Field Values
-
IMDB_TITLE_ID
static final String IMDB_TITLE_ID
- See Also:
- Constant Field Values
-
METRO_LYRICS_ID
static final String METRO_LYRICS_ID
- See Also:
- Constant Field Values
-
BEATPORT_TRACK_ID
static final String BEATPORT_TRACK_ID
- See Also:
- Constant Field Values
-
BEATPORT_ARTIST_ID
static final String BEATPORT_ARTIST_ID
- See Also:
- Constant Field Values
-
BEATPORT_RELEASE_ID
static final String BEATPORT_RELEASE_ID
- See Also:
- Constant Field Values
-
BANDCAMP_ARTIST_URL
static final String BANDCAMP_ARTIST_URL
- See Also:
- Constant Field Values
-
BANDCAMP_ALBUM_URL
static final String BANDCAMP_ALBUM_URL
- See Also:
- Constant Field Values
-
BANDCAMP_TRACK_URL
static final String BANDCAMP_TRACK_URL
- See Also:
- Constant Field Values
-
BANDCAMP_ARTIST_URL_PREFIX
static final String BANDCAMP_ARTIST_URL_PREFIX
- See Also:
- Constant Field Values
-
BANDCAMP_GENERATOR_URL
static final String BANDCAMP_GENERATOR_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
String getId()
-
setId
void setId(String id)
-
getGeneratorVersion
String getGeneratorVersion()
-
setGeneratorVersion
void setGeneratorVersion(String generatorVersion)
-
getGeneratorName
String getGeneratorName()
-
setGeneratorName
void setGeneratorName(String generatorName)
-
getGeneratorURL
URL getGeneratorURL()
-
setGeneratorURL
void setGeneratorURL(URL generatorURL)
-
isKnownGenerator
boolean isKnownGenerator()
Indicates whether the used generator name is known and whether this id can be validated usingisValid()
.- Returns:
- true or false
-
isValid
boolean isValid()
Validates the value of this id.- Returns:
- true, if the generator is known (see
isKnownGenerator()
) and the id is set and valid.
-
-