org.mmbase.applications.media.filters
Class RealSorter

java.lang.Object
  extended byorg.mmbase.applications.media.filters.Sorter
      extended byorg.mmbase.applications.media.filters.ChainSorter
          extended byorg.mmbase.applications.media.filters.RealSorter
All Implemented Interfaces:
java.util.Comparator, Filter

public class RealSorter
extends ChainSorter

This can sort according to properties of real streams. The client can request a certain speed/channels, but it can be forced to be between two values (configured in mediasourcefilter.xml). This ia 'chainsorter' meaning that it is a combination of severa; other sorters, which are implemented as inner classes. This is because several criteria are to be distinguished, and taking them apart makes things nice and simple.

Version:
$Id: RealSorter.java,v 1.8 2004/01/19 17:07:41 michiel Exp $
Author:
Michiel Meeuwissen, Rob Vermeulen

Nested Class Summary
protected  class RealSorter.ChannelsSorter
          Sort with channels
protected  class RealSorter.RealFormatSorter
          Prefer real a little if this filter is used.
protected  class RealSorter.SpeedSorter
          Sort with speed
 
Field Summary
static java.lang.String CONFIG_TAG
           
 
Constructor Summary
RealSorter()
           
 
Methods inherited from class org.mmbase.applications.media.filters.ChainSorter
add, clear, compareURLComposer, configure, size
 
Methods inherited from class org.mmbase.applications.media.filters.Sorter
compare, filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

CONFIG_TAG

public static final java.lang.String CONFIG_TAG
See Also:
Constant Field Values
Constructor Detail

RealSorter

public RealSorter()


MMBase build 1.7.1.20041002