org.mmbase.applications.media.filters
Class RealSorter

java.lang.Object
  extended by org.mmbase.applications.media.filters.Sorter
      extended by org.mmbase.applications.media.filters.ChainSorter
          extended by org.mmbase.applications.media.filters.RealSorter
All Implemented Interfaces:
Comparator<URLComposer>, 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 36047 2009-06-14 14:44:44Z michiel $
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 String CONFIG_TAG
           
 
Constructor Summary
RealSorter()
           
 
Method Summary
 
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 String CONFIG_TAG
See Also:
Constant Field Values
Constructor Detail

RealSorter

public RealSorter()


MMBase 2.0-SNAPSHOT - null