|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.openutils.mgnlmedia.media.types.externals.YoutubeSupport
public class YoutubeSupport
ExternalVideoSupport specific for Youtube URLs.
| Constructor Summary | |
|---|---|
YoutubeSupport()
|
|
| Method Summary | |
|---|---|
boolean |
canHandle(String url)
Can this VideoSupport class handle this kind of urls? Usually done by checking the domain. |
String |
getFlvUrl(String shareUrl)
Return the FLV url from the share url. |
String |
getMediaName(String shareUrl)
Return the video name from the share url. |
String |
getPreviewUrl(String shareUrl)
Return the preview url from the share url. |
boolean |
isEnabled()
Is this VideoSupport class enabled? |
void |
setEnabled(boolean enabled)
Sets the enabled. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public YoutubeSupport()
| Method Detail |
|---|
public boolean isEnabled()
isEnabled in interface ExternalVideoSupportpublic void setEnabled(boolean enabled)
enabled - the enabled to setpublic boolean canHandle(String url)
canHandle in interface ExternalVideoSupporturl - share URL
public String getFlvUrl(String shareUrl)
getFlvUrl in interface ExternalVideoSupportshareUrl - share URL
public String getPreviewUrl(String shareUrl)
getPreviewUrl in interface ExternalVideoSupportshareUrl - share URL
public String getMediaName(String shareUrl)
getMediaName in interface ExternalVideoSupportshareUrl - share URL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||