Package org.eclipse.jetty.util.resource
Class ResourceCollators
- java.lang.Object
-
- org.eclipse.jetty.util.resource.ResourceCollators
-
public class ResourceCollators extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Comparator<? super Resource>
BY_LAST_MODIFIED_ASCENDING
private static java.util.Comparator<? super Resource>
BY_LAST_MODIFIED_DESCENDING
private static java.util.Comparator<? super Resource>
BY_NAME_ASCENDING
private static java.util.Comparator<? super Resource>
BY_NAME_DESCENDING
private static java.util.Comparator<? super Resource>
BY_SIZE_ASCENDING
private static java.util.Comparator<? super Resource>
BY_SIZE_DESCENDING
-
Constructor Summary
Constructors Constructor Description ResourceCollators()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Comparator<? super Resource>
byLastModified(boolean sortOrderAscending)
static java.util.Comparator<? super Resource>
byName(boolean sortOrderAscending)
static java.util.Comparator<? super Resource>
bySize(boolean sortOrderAscending)
-
-
-
Field Detail
-
BY_NAME_ASCENDING
private static java.util.Comparator<? super Resource> BY_NAME_ASCENDING
-
BY_NAME_DESCENDING
private static java.util.Comparator<? super Resource> BY_NAME_DESCENDING
-
BY_LAST_MODIFIED_ASCENDING
private static java.util.Comparator<? super Resource> BY_LAST_MODIFIED_ASCENDING
-
BY_LAST_MODIFIED_DESCENDING
private static java.util.Comparator<? super Resource> BY_LAST_MODIFIED_DESCENDING
-
BY_SIZE_ASCENDING
private static java.util.Comparator<? super Resource> BY_SIZE_ASCENDING
-
BY_SIZE_DESCENDING
private static java.util.Comparator<? super Resource> BY_SIZE_DESCENDING
-
-
Method Detail
-
byLastModified
public static java.util.Comparator<? super Resource> byLastModified(boolean sortOrderAscending)
-
byName
public static java.util.Comparator<? super Resource> byName(boolean sortOrderAscending)
-
bySize
public static java.util.Comparator<? super Resource> bySize(boolean sortOrderAscending)
-
-