Package org.apache.tika.utils
Class CompareUtils
- java.lang.Object
- 
- org.apache.tika.utils.CompareUtils
 
- 
 public class CompareUtils extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description CompareUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static intcompareClassName(Object o1, Object o2)Compare two classes by class names.
 
- 
- 
- 
Method Detail- 
compareClassNamepublic static int compareClassName(Object o1, Object o2) Compare two classes by class names. If both classes are Tika's or both are not Tika's class, compare by name String. Otherwise one of these two class is Tika's class. Then the non-Tika's class comes before Tika's class.- Parameters:
- o1- the object 1 to be compared
- o2- the object 2 to be compared
- Returns:
- a negative integer, zero, or a positive integer
 
 
- 
 
-