|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.gallery.model.Media
com.silverpeas.gallery.model.Streaming
public class Streaming
This class represents a Streaming.
Field Summary |
---|
Fields inherited from class com.silverpeas.gallery.model.Media |
---|
BASE_PATH |
Constructor Summary | |
---|---|
Streaming()
|
Method Summary | |
---|---|
String |
getApplicationEmbedUrl(MediaResolution mediaResolution)
Gets the Application URL thumbnail of the media according the specified media resolution. |
String |
getApplicationOriginalUrl()
Gets the original URL of a media with cache handling. |
org.silverpeas.file.SilverpeasFile |
getFile(MediaResolution mediaResolution)
Gets the Silverpeas file. |
String |
getHomepageUrl()
Gets the provider URL that permits to access to the video play. |
static org.json.JSONObject |
getOembedAsJson(String homepageUrl)
Gets OEMBED data as JSON. |
StreamingProvider |
getProvider()
Gets the streaming provider. |
static String |
getResourceType()
The type of this resource |
MediaType |
getType()
|
void |
setHomepageUrl(String url)
Sets the provider URL that permits to access to the video play. |
void |
setProvider(StreamingProvider provider)
Gets the streaming provider. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Streaming()
Method Detail |
---|
public MediaType getType()
getType
in class Media
public String getHomepageUrl()
public void setHomepageUrl(String url)
url
- the provider URL that permits to access to the video play.public StreamingProvider getProvider()
public void setProvider(StreamingProvider provider)
provider
- the streaming provider.public static String getResourceType()
public String getApplicationOriginalUrl()
Media
getApplicationOriginalUrl
in class Media
public org.silverpeas.file.SilverpeasFile getFile(MediaResolution mediaResolution)
Media
getFile
in class Media
public String getApplicationEmbedUrl(MediaResolution mediaResolution)
Media
getApplicationEmbedUrl
in class Media
public static org.json.JSONObject getOembedAsJson(String homepageUrl)
JSONObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |