public enum MediaServiceType extends Enum<MediaServiceType>
| Enum Constant and Description |
|---|
AUDIOBOO |
DAILYMOTION |
SOUNDCLOUD |
VIMEO |
YOUTUBE |
| Modifier and Type | Method and Description |
|---|---|
static MediaService |
findInstance(String urn) |
MediaService |
getInstance(String urn) |
Pattern |
getUrnPattern() |
String |
getUrnPatternString() |
static MediaServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaServiceType SOUNDCLOUD
public static final MediaServiceType VIMEO
public static final MediaServiceType YOUTUBE
public static final MediaServiceType AUDIOBOO
public static final MediaServiceType DAILYMOTION
public static MediaServiceType[] values()
for (MediaServiceType c : MediaServiceType.values()) System.out.println(c);
public static MediaServiceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Pattern getUrnPattern()
public String getUrnPatternString()
public static MediaService findInstance(String urn)
public MediaService getInstance(String urn)
Copyright © 2015 Europeana Foundation. All rights reserved.