|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.mmbase.util.media.audio.audioparts.AudioPartDef
This is a wrapper class for the AudioPart object. It is used to provide member functions for selecting, for a wrapped audiopart, the best available rawaudio (or rather, rawaudio wrapper), and then requesting the best url for that rawaudio (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 |
RawAudioDef |
rawaudio
Deprecated. the best for the user in speed/channels. |
java.util.Vector |
rawaudios
Deprecated. all the rawaudios connected to this node |
int |
source
Deprecated. should be retrieved from node reference |
java.lang.String |
starttime
Deprecated. Audiopart start tijd |
java.lang.String |
stoptime
Deprecated. Audiopart 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 | |
AudioPartDef()
Deprecated. |
|
AudioPartDef(MMBase mmbase,
int number)
Deprecated. Creates the wrapper and initializes it by copying the node's fields and values. |
|
AudioPartDef(MMBase mmbase,
MMObjectNode node)
Deprecated. Creates the wrapper and initializes it by copying the node's fields and values. |
|
| Method Summary | |
boolean |
getRawAudios(MMBase mmbase,
int wantedspeed,
int wantedchannels,
boolean sorted)
Deprecated. Attempts to selects the best available rawaudio object for the given speed and channels The result of this method is deciding for the outcome of the getRealAudioUrl(org.mmbase.util.scanpage) call. |
java.lang.String |
getRealAudioUrl(scanpage sp)
Deprecated. Gets the Realaudio 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 rawaudios
public RawAudioDef rawaudio
| Constructor Detail |
public AudioPartDef()
public AudioPartDef(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 AudioPartDef(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 getRawAudios(MMBase mmbase,
int wantedspeed,
int wantedchannels,
boolean sorted)
getRealAudioUrl(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 audiowantedchannels - the desired nr of channels for the audiosorted - whether to sort the available audios first (?)getRealAudioUrl(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 getRealAudioUrl(scanpage sp)
getRawAudios(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 | |||||||