org.mmbase.applications.media.builders
Class AudioSources

java.lang.Object
  extended byorg.mmbase.module.core.MMTable
      extended byorg.mmbase.module.core.MMObjectBuilder
          extended byorg.mmbase.applications.media.builders.MediaSources
              extended byorg.mmbase.applications.media.builders.AudioSources

public class AudioSources
extends MediaSources

The AudioSource builder describes a specific type of audio that can be retrieved (real/mp3/etc). Information about format, quality, and status will be maintained in this object. An AudioSource belongs to a MediaFragement that describes the piece of media, the AudioSource is the actually audio itself. An AudioSource is connected to provider objects that indicate where the audio files can be found.

Since:
MMBase-1.7
Version:
$Id: AudioSources.java,v 1.4 2003/07/15 12:50:23 vpro Exp $
Author:
Rob Vermeulen, Michiel Meeuwissen

Field Summary
 
Fields inherited from class org.mmbase.applications.media.builders.MediaSources
FUNCTION_AVAILABLE, FUNCTION_CODEC, FUNCTION_FILTEREDURLS, FUNCTION_FORMAT, FUNCTION_MIMETYPE, FUNCTION_URL, FUNCTION_URLS, MONO, STATE_DONE, STATES_RESOURCE, STEREO
 
Fields inherited from class org.mmbase.module.core.MMObjectBuilder
AGE_PARAMETERS, broadcastChanges, database, DEFAULT_ALINEA, DEFAULT_EOL, description, descriptions, fields, GUI_PARAMETERS, listCache, nodeCache, OBJ2TYPE_MAX_SIZE, oType, REPLACE_CACHE, searchAge, sortedDBLayout, TEMPNODE_DEFAULT_SIZE, TemporaryNodes, virtual
 
Fields inherited from class org.mmbase.module.core.MMTable
mmb, tableName
 
Constructor Summary
AudioSources()
           
 
Method Summary
 MMObjectNode addAudioSource(MMObjectNode audiofragment, int format, int codec, int bitrate, int channels, java.lang.String url, int state, java.lang.String owner)
          Creates a new audiosource and relates it to an audiofragment.
 
Methods inherited from class org.mmbase.applications.media.builders.MediaSources
addProvider, commit, createSource, executeFunction, getChannels, getCodec, getFilteredURLs, getFormat, getFormat, getGUIIndicator, getProviders, getSpeed, getURL, getURLs, init, insert, setValue
 
Methods inherited from class org.mmbase.module.core.MMObjectBuilder
addField, addLocalObserver, addRemoteObserver, buildSet, checkAddTmpField, convertMMNode2SQL, count, count, create, createAlias, delete, deleteNodeCache, drop, equals, equals, executeFunction, fieldLocalChanged, getAge, getAliasedNode, getAncestors, getCacheNumbers, getCacheSize, getCacheSize, getClassName, getConfigFile, getDBByte, getDBKey, getDBState, getDBText, getDBType, getDefaultTeaser, getDefaultUrl, getDescendants, getDescription, getDescription, getDescriptions, getEditFields, getField, getFieldNames, getFields, getFields, getFunctionParameters, getGUIIndicator, getHardNode, getHardNode, getHTML, getInitParameter, getInitParameters, getList, getLocaleGUIIndicator, getLocaleGUIIndicator, getMachineName, getMaintainer, getMMBase, getNewNode, getNewTmpNode, getNextField, getNextField, getNode, getNode, getNode, getNode, getNodes, getNodes, getNodeType, getNumberFromName, getObjectType, getObjectValue, getParameterDefinition, getParentBuilder, getPluralName, getPluralName, getPluralNames, getQuery, getQuery, getQuery, getRawNodes, getRelations_main, getSearchAge, getShort, getShortedByte, getShortedText, getSingularName, getSingularName, getSingularNames, getSmartPath, getSortedFields, getSortedListFields, getTmpNode, getURLEncode, getValue, getVersion, getWAP, getXMLPath, hashCode, hostname_function, insert, insertDone, isExtensionOf, isNodeCached, isVirtual, nodeLocalChanged, nodeRemoteChanged, preCommit, preEdit, process, processSearchResults, putTmpNode, readSearchResults, removeField, removeNode, removeRelations, removeSyncNodes, removeTmpNode, replace, safeCache, safeCommit, safeInsert, search, search, search, searchIn, searchIn, searchIn, searchList, searchList, searchNumbers, searchVector, searchVector, searchVector, searchVector, searchVectorIn, searchVectorIn, searchVectorIn, searchVectorIn, searchWithWhere, sendFieldChangeSignal, setDBLayout_xml, setDefaults, setDescription, setDescriptions, setInitParameter, setMaintainer, setMMBase, setParentBuilder, setPluralNames, setSearchAge, setSingularNames, setTableName, setUniqueValue, setUniqueValue, setValue, setVersion, setXMLPath, setXMLValues, signalNewObject, testValidData, toString, toString, toXML, updateFields, waitUntilNodeChanged, wrap
 
Methods inherited from class org.mmbase.module.core.MMTable
created, getFullTableName, getTableName, size
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AudioSources

public AudioSources()
Method Detail

addAudioSource

public MMObjectNode addAudioSource(MMObjectNode audiofragment,
                                   int format,
                                   int codec,
                                   int bitrate,
                                   int channels,
                                   java.lang.String url,
                                   int state,
                                   java.lang.String owner)
Creates a new audiosource and relates it to an audiofragment.

Parameters:
audiofragment - the audiofragment to relate this new audiosource to.
Returns:
The new created audiofragment.


MMBase build 1.7.4.20050922