|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.mmbase.util.media.video.videoparts.VideoPartDef
This is a wrapper class for the VideoPart object. It is used to provide member functions for selecting, for a wrapped videopart, the best available rawvideo (or rather, rawvideo wrapper), and then requesting the best url for that rawvideo (using the best mirror site available).
| Field Summary | |
java.lang.String |
body
Deprecated. should be retrieved from node reference |
java.lang.String |
intro
Deprecated. should be retrieved from node reference |
int |
number
Deprecated. should be retrieved from node reference |
int |
otype
Deprecated. should be retrieved from node reference |
java.lang.String |
owner
Deprecated. should be retrieved from node reference |
int |
playtime
Deprecated. should be retrieved from node reference |
RawVideoDef |
rawvideo
Deprecated. the best for the user in speed/channels. |
java.util.Vector |
rawvideos
Deprecated. all the rawvideos connected to this node |
int |
source
Deprecated. should be retrieved from node reference |
java.lang.String |
starttime
Deprecated. Videopart start tijd |
java.lang.String |
stoptime
Deprecated. Videopart eind tijd |
int |
storage
Deprecated. should be retrieved from node reference |
java.lang.String |
subtitle
Deprecated. should be retrieved from node reference |
java.lang.String |
title
Deprecated. should be retrieved from node reference |
| Constructor Summary | |
VideoPartDef()
Deprecated. |
|
VideoPartDef(MMBase mmbase,
int number)
Deprecated. Creates the wrapper and initializes it by copying the node's fields and values. |
|
VideoPartDef(MMBase mmbase,
MMObjectNode node)
Deprecated. Creates the wrapper and initializes it by copying the node's fields and values. |
|
| Method Summary | |
boolean |
getRawVideos(MMBase mmbase,
int wantedspeed,
int wantedchannels,
boolean sorted)
Deprecated. Attempts to selects the best available rawvideo object for the given speed and channels The result of this method is deciding for the outcome of the getRealVideoUrl(org.mmbase.util.scanpage) call. |
java.lang.String |
getRealVideoUrl(scanpage sp)
Deprecated. Gets the Realvideo url and ads the 'title','start' and 'end' name and values parameters. |
void |
getStartStop(MMBase mmbase)
Deprecated. Determine start and stop time values of the given object. |
boolean |
setparameters(MMBase mmbase,
int number)
Deprecated. Initializes the wrapper by copying the node's fields and values. |
boolean |
setparameters(MMBase mmbase,
MMObjectNode node)
Deprecated. Initializes the wrapper by copying the node's fields and values. |
java.lang.String |
toString()
Deprecated. Returns a string representation of this object, for debugging purposes. |
java.lang.String |
toText()
Deprecated. Returns a string representation of this object, for debugging purposes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int number
public int otype
public java.lang.String owner
public java.lang.String title
public java.lang.String subtitle
public int source
public int playtime
public java.lang.String intro
public java.lang.String body
public int storage
public java.lang.String starttime
public java.lang.String stoptime
public java.util.Vector rawvideos
public RawVideoDef rawvideo
| Constructor Detail |
public VideoPartDef()
public VideoPartDef(MMBase mmbase,
int number)
mmbase - The mmbase to use (a bit strange as a parameter, as you are already passing a node)number - The number of the node to wrap
public VideoPartDef(MMBase mmbase,
MMObjectNode node)
mmbase - The mmbase to use (a bit strange as a parameter, as you are already passing a node)node - The node to wrap| Method Detail |
public boolean setparameters(MMBase mmbase,
int number)
mmbase - The mmbase to use (a bit strange as a parameter, as you are already passing a node)number - The number of the node to wrap
public boolean setparameters(MMBase mmbase,
MMObjectNode node)
mmbase - The mmbase to use (a bit strange as a parameter, as you are already passing a node)node - The node to wrap
public boolean getRawVideos(MMBase mmbase,
int wantedspeed,
int wantedchannels,
boolean sorted)
getRealVideoUrl(org.mmbase.util.scanpage) call.mmbase - The mmbase to use (a bit strange as a parameter, as you are already wrapping a node)wantedspeed - the desired speed of the videowantedchannels - the desired nr of channels for the videosorted - whether to sort the available videos first (?)getRealVideoUrl(org.mmbase.util.scanpage)public void getStartStop(MMBase mmbase)
mmbase - The mmbase to use (a bit strange as a parameter, as you are already wrapping a node)public java.lang.String getRealVideoUrl(scanpage sp)
getRawVideos(org.mmbase.module.core.MMBase, int, int, boolean) call,
which makes it unsafe for use in a multithreaded environment.sp - the scanpagepublic java.lang.String toText()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||