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 Summary
Constructors - 
Method Summary
Modifier 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
- 
DocumentComparatorManager
public DocumentComparatorManager() 
 - 
 - 
Method Details
- 
getAvailableFormats
Returns all the possible input formats- Returns:
 - list of the file extensions for which a comparator exists
 
 - 
getAvailableComparators
Returns the list of possible comparators for a given input format- Parameters:
 inFileName- filename of the file to compare- Returns:
 - the list of available comparators
 
 - 
getAllComparators
Returns the list of possible comparators- Returns:
 - the list of all the comparators
 
 - 
getComparator
Loads 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
 
 -