T - the type of mime types that may be compared by this comparatorpublic static class MimeType.SpecificityComparator<T extends MimeType>
extends java.lang.Object
implements java.util.Comparator<T>
MimeTypes in order of specificity.| Constructor and Description |
|---|
SpecificityComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T mimeType1,
T mimeType2) |
protected int |
compareParameters(T mimeType1,
T mimeType2) |