org.mmbase.util.media.audio.audioparts
Class AudioPartDef

java.lang.Object
  |
  +--org.mmbase.util.media.audio.audioparts.AudioPartDef

public class AudioPartDef
extends java.lang.Object

Version:
$Id: AudioPartDef.java,v 1.7 2002/01/28 16:35:02 pierre Exp $
Author:
vpro

Field Summary
 java.lang.String body
           
 java.lang.String intro
           
 int number
           
 int otype
          Deprecated. not used, implied by number
 java.lang.String owner
          Deprecated. not used, implied by number
 int playtime
           
 RawAudioDef rawaudio
          the best for the user in speed/channels.
 java.util.Vector rawaudios
          all the rawaudios connected to this node
 int source
           
 java.lang.String starttime
           
 java.lang.String stoptime
           
 int storage
           
 java.lang.String subtitle
           
 java.lang.String title
           
 
Constructor Summary
AudioPartDef()
           
AudioPartDef(MMBase mmbase, int number)
           
AudioPartDef(MMBase mmbase, MMObjectNode node)
           
 
Method Summary
 boolean getRawAudios(MMBase mmbase, int wantedspeed, int wantedchannels, boolean sorted)
           
 java.lang.String getRealAudioUrl(scanpage sp)
          Gets the Realaudio url and ads the 'title','start' and 'end' name and values parameters.
 void getStartStop(MMBase mmbase)
           
 boolean setparameters(MMBase mmbase, int number)
           
 boolean setparameters(MMBase mmbase, MMObjectNode node)
           
 java.lang.String toString()
           
 java.lang.String toText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

number

public int number

otype

public int otype
Deprecated. not used, implied by number


owner

public java.lang.String owner
Deprecated. not used, implied by number


title

public java.lang.String title

subtitle

public java.lang.String subtitle

source

public int source

playtime

public int playtime

intro

public java.lang.String intro

body

public java.lang.String body

storage

public int storage

starttime

public java.lang.String starttime

stoptime

public java.lang.String stoptime

rawaudios

public java.util.Vector rawaudios
all the rawaudios connected to this node

rawaudio

public RawAudioDef rawaudio
the best for the user in speed/channels.
Constructor Detail

AudioPartDef

public AudioPartDef()

AudioPartDef

public AudioPartDef(MMBase mmbase,
                    int number)

AudioPartDef

public AudioPartDef(MMBase mmbase,
                    MMObjectNode node)
Method Detail

setparameters

public boolean setparameters(MMBase mmbase,
                             int number)

setparameters

public boolean setparameters(MMBase mmbase,
                             MMObjectNode node)

getRawAudios

public boolean getRawAudios(MMBase mmbase,
                            int wantedspeed,
                            int wantedchannels,
                            boolean sorted)

getStartStop

public void getStartStop(MMBase mmbase)

getRealAudioUrl

public java.lang.String getRealAudioUrl(scanpage sp)
Gets the Realaudio url and ads the 'title','start' and 'end' name and values parameters. davzev: Removed the double quotes around the values since Real SMIL doesn't handle it correctly.
Parameters:
sp - the scanpage
Returns:
a String with the url.

toText

public java.lang.String toText()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


MMBase 2002