public enum EstateLinkProvider extends Enum<EstateLinkProvider>
Enum Constant and Description |
---|
VIDEO_CLIPFISH_DE |
VIDEO_CLIPSHACK_COM |
VIDEO_DAILYMOTION_COM |
VIDEO_MYVIDEO_DE |
VIDEO_SEVENLOAD_COM |
VIDEO_VEOH_COM |
VIDEO_VIMEO_COM |
VIDEO_YOUTUBE_COM |
Modifier and Type | Method and Description |
---|---|
static String |
getEmbedHtml(EstateLinkProvider provider,
String linkId,
String linkTitle,
int width,
int height) |
String |
getEmbedHtml(String linkId,
String linkTitle,
int width,
int height) |
String |
getLinkIdFromUrl(String url) |
URL |
getUrlFromLinkId(String linkId) |
Pattern |
getUrlPattern() |
String |
getXmlName() |
boolean |
isVideo() |
static EstateLinkProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EstateLinkProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EstateLinkProvider VIDEO_CLIPFISH_DE
public static final EstateLinkProvider VIDEO_CLIPSHACK_COM
public static final EstateLinkProvider VIDEO_DAILYMOTION_COM
public static final EstateLinkProvider VIDEO_MYVIDEO_DE
public static final EstateLinkProvider VIDEO_SEVENLOAD_COM
public static final EstateLinkProvider VIDEO_VEOH_COM
public static final EstateLinkProvider VIDEO_VIMEO_COM
public static final EstateLinkProvider VIDEO_YOUTUBE_COM
public static EstateLinkProvider[] values()
for (EstateLinkProvider c : EstateLinkProvider.values()) System.out.println(c);
public static EstateLinkProvider 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 static String getEmbedHtml(EstateLinkProvider provider, String linkId, String linkTitle, int width, int height)
public Pattern getUrlPattern()
public String getXmlName()
public boolean isVideo()
Copyright © 2016. All rights reserved.