| 
||||||||||
| 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.Sound
public class Sound
This class represents a Sound.
| Field Summary | 
|---|
| Fields inherited from class com.silverpeas.gallery.model.Media | 
|---|
BASE_PATH | 
| Constructor Summary | |
|---|---|
Sound()
 | 
|
| Method Summary | |
|---|---|
 long | 
getBitrate()
Gets the number of bytes delivered per seconds.  | 
 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 | 
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 Sound()
| Method Detail | 
|---|
public MediaType getType()
getType in class Mediapublic 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 | |||||||||