Package org.apache.tika.utils
Class CompareUtils
java.lang.Object
org.apache.tika.utils.CompareUtils
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic intcompareClassName(Object o1, Object o2) Compare two classes by class names.
- 
Constructor Details- 
CompareUtilspublic CompareUtils()
 
- 
- 
Method Details- 
compareClassNameCompare 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
 
 
-