public class MetaInfResourcePathComparator extends Object implements Comparator<MetaInfResource>
Sort lexicographically by directory structure, then filename of the locations contained in each MetaInfResource
2 - /a/foo2.txt 1 - /a/foo1.txt 3 - /a/b/foo.txt 2 - /a/foo2.txt 1 - /a/foo1.txt 3 - /a/b/foo.txt
Constructor and Description |
---|
MetaInfResourcePathComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(MetaInfResource one,
MetaInfResource two) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public MetaInfResourcePathComparator()
public int compare(MetaInfResource one, MetaInfResource two)
compare
in interface Comparator<MetaInfResource>
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.