org.mmbase.applications.media.filters
Class ClientFormatSorter
java.lang.Object
org.mmbase.applications.media.filters.Sorter
org.mmbase.applications.media.filters.PreferenceSorter
org.mmbase.applications.media.filters.ClientFormatSorter
- All Implemented Interfaces:
- Comparator<URLComposer>, Filter
public class ClientFormatSorter
- extends PreferenceSorter
Client's preferred format can be different for every request. This
Sorter uses the 'info' Map to sort the requested formats to the top
of the urlcomposer list.
- Version:
- $Id: ClientFormatSorter.java 35335 2009-05-21 08:14:41Z michiel $
- Author:
- Michiel Meeuwissen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientFormatSorter
public ClientFormatSorter()
getPreference
protected int getPreference(URLComposer ri)
- Description copied from class:
PreferenceSorter
- Implement a preference for this URLComposer
- Specified by:
getPreference in class PreferenceSorter
MMBase 2.0-SNAPSHOT - null