org.exoplatform.social.common.embedder
Class YoutubeEmbedder
java.lang.Object
org.exoplatform.social.common.embedder.YoutubeEmbedder
- All Implemented Interfaces:
- Embedder
public class YoutubeEmbedder
- extends Object
- implements Embedder
- Since:
- 4.0.0-GA
|
Constructor Summary |
YoutubeEmbedder(org.exoplatform.container.xml.InitParams initParams)
constructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YoutubeEmbedder
public YoutubeEmbedder(org.exoplatform.container.xml.InitParams initParams)
- constructor
- Parameters:
initParams -
getYouTubeURLPattern
public Pattern getYouTubeURLPattern()
setUrl
public void setUrl(String url)
- Description copied from interface:
Embedder
- Set provided url to Embedder object to process.
- Specified by:
setUrl in interface Embedder
- Parameters:
url - The provided input url to be processed.
getExoSocialMedia
public ExoSocialMedia getExoSocialMedia()
- Processes input link and returns data wrapped into a model called ExoSocialMedia.
- Specified by:
getExoSocialMedia in interface Embedder
- Returns:
- ExoSocialMedia object that corresponds to the link.
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.