Package com.jalios.jcms
Class FileDocument.DurationComparator<T extends FileDocument>
- java.lang.Object
-
- com.jalios.jstore.BasicStorable.CdateComparator<T>
-
- com.jalios.jcms.comparator.BasicComparator<T>
-
- com.jalios.jcms.Publication.TitleComparator<T>
-
- com.jalios.jcms.FileDocument.DurationComparator<T>
-
- Type Parameters:
T
- subclass of FileDocument
- All Implemented Interfaces:
java.util.Comparator<T>
- Enclosing class:
- FileDocument
public static class FileDocument.DurationComparator<T extends FileDocument> extends Publication.TitleComparator<T>
This comparators compare FileDocuments of audio file type according to their duration.- Since:
- jcms-5.5.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jalios.jcms.comparator.BasicComparator
BasicComparator.StringComparisonMethod
-
-
Field Summary
-
Fields inherited from class com.jalios.jcms.Publication.TitleComparator
lang
-
Fields inherited from class com.jalios.jcms.comparator.BasicComparator
channel, comparisonMethod, contextMap, jcmsContext, language, locale
-
-
Constructor Summary
Constructors Constructor Description DurationComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(T f1, T f2)
-
Methods inherited from class com.jalios.jcms.comparator.BasicComparator
compareString
-
Methods inherited from class com.jalios.jstore.BasicStorable.CdateComparator
compareDate
-
-
-
-
Method Detail
-
compare
public int compare(T f1, T f2)
- Specified by:
compare
in interfacejava.util.Comparator<T extends FileDocument>
- Overrides:
compare
in classPublication.TitleComparator<T extends FileDocument>
-
-