Class RealSorter

  extended by
      extended by
          extended by
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.

$Id: 36047 2009-06-14 14:44:44Z michiel $
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
Method Summary
Methods inherited from class
add, clear, compareURLComposer, configure, size
Methods inherited from class
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

Field Detail


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


public RealSorter()

MMBase 2.0-SNAPSHOT - null