|
||||||||||
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.InternalMedia
com.silverpeas.gallery.model.Video
public class Video
This class represents a Video.
Field Summary |
---|
Fields inherited from class com.silverpeas.gallery.model.Media |
---|
BASE_PATH |
Constructor Summary | |
---|---|
Video()
|
Method Summary | |
---|---|
long |
getBitrate()
Gets the number of bytes delivered per seconds. |
org.silverpeas.media.Definition |
getDefinition()
Gets the definition of the resolution. |
long |
getDuration()
Gets the duration in milliseconds. |
static String |
getResourceType()
The type of this resource |
MediaType |
getType()
|
void |
setBitrate(long bitrate)
Sets the number of bytes delivered per seconds. |
void |
setDefinition(org.silverpeas.media.Definition definition)
Sets the definition of the resolution. |
void |
setDuration(long durationInMs)
Sets the duration in milliseconds. |
Methods inherited from class com.silverpeas.gallery.model.InternalMedia |
---|
addMetaData, getApplicationThumbnailUrl, getDownloadPeriod, getFile, getFileMimeType, getFileName, getFileSize, getMetaData, getMetaDataProperties, isDownloadable, isDownloadAuthorized, setDownloadAuthorized, setDownloadPeriod, setFileMimeType, setFileName, setFileSize |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Video()
Method Detail |
---|
public MediaType getType()
getType
in class Media
public org.silverpeas.media.Definition getDefinition()
public void setDefinition(org.silverpeas.media.Definition definition)
definition
- the definition of the resolution.public long getBitrate()
public void setBitrate(long bitrate)
bitrate
- the number of bytes delivered per seconds.public long getDuration()
public void setDuration(long durationInMs)
durationInMs
- the duration in milliseconds.public static String getResourceType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |