public class MetaInfResourceConfigurablePathComparator extends Object implements Comparator<MetaInfResource>
Sort first by the data passed into the configurable comparator, then sort lexicographically by directory structure,
then filename of the locations contained in each MetaInfResource
2 - server/demo/a/foo2.txt 1 - client/bootstrap/a/foo1.txt 3 - server/demo/a/b/foo.txt 2 - server/demo/a/foo2.txt 1 - client/bootstrap/a/foo1.txt 3 - server/demo/a/b/foo.txt
| Modifier and Type | Class and Description |
|---|---|
static class |
MetaInfResourceConfigurablePathComparator.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MetaInfResourceConfigurablePathComparator.Builder |
builder() |
int |
compare(MetaInfResource one,
MetaInfResource two) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic int compare(MetaInfResource one, MetaInfResource two)
compare in interface Comparator<MetaInfResource>public static MetaInfResourceConfigurablePathComparator.Builder builder()
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.