public class XFileCompare extends Object implements CompareInterface
SortedVector,
CompareInterface,
XFile| Modifier and Type | Field and Description |
|---|---|
(package private) String |
compareField
Attribute to compare on ('filepath' or 'modtime')
|
| Constructor and Description |
|---|
XFileCompare(String compareField)
Create a XFuileCompare.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object thisOne,
Object other)
Make the comparison.
|
String compareField
public XFileCompare(String compareField)
compareField - Attribute to compare on ('filepath' or 'modtime')public int compare(Object thisOne, Object other)
compare in interface CompareInterfacethisOne - the first object to compare. should be a XFile.other - the second object to compare. should be a XFile.MMBase 1.9-SNAPSHOT - ${javadoctimestamp}