Package com.logicaldoc.comparison
Class DocumentComparatorManager
java.lang.Object
com.logicaldoc.comparison.DocumentComparatorManager
Manager class used to handle the comparators. For each file extension you may
 have different possible comparators, they are taken by the
 DocumentComparator extension point.
- Since:
- 8.2.3
- Author:
- Marco Meschieri - LogicalDOC
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the list of possible comparatorsgetAvailableComparators(String inFileName) Returns the list of possible comparators for a given input formatReturns all the possible input formatsgetComparator(String fileName) Loads the proper comparator for the passed file names.
- 
Constructor Details- 
DocumentComparatorManagerpublic DocumentComparatorManager()
 
- 
- 
Method Details- 
getAvailableFormatsReturns all the possible input formats- Returns:
- list of the file extensions for which a comparator exists
 
- 
getAvailableComparatorsReturns the list of possible comparators for a given input format- Parameters:
- inFileName- filename of the file to compare
- Returns:
- the list of available comparators
 
- 
getAllComparatorsReturns the list of possible comparators- Returns:
- the list of all the comparators
 
- 
getComparatorLoads the proper comparator for the passed file names. The right comparator used is defined in the configuration parameter comparator.extension- Parameters:
- fileName- filename of the file to compare
- Returns:
- the comparator currently in use
 
- 
getComparators
 
-