Class DiffPerformerFactory


  • @API(type=NOT_EXTENDABLE,
         src=PUBLIC)
    public class DiffPerformerFactory
    extends java.lang.Object
    Factory used to create a difference performer, used to compare two resources using different algorithms and options.
    • Constructor Detail

      • DiffPerformerFactory

        public DiffPerformerFactory()
    • Method Detail

      • createDiffPerformer

        public static DifferencePerformer createDiffPerformer()
                                                       throws DiffException
        Create difference performer.
        Returns:
        a difference performer that can be used to compare two resources using different algorithms and options.
        Throws:
        DiffException - When it fails to create the diff performer.
      • createAuthorDiffPerformer

        public static AuthorDifferencePerformer createAuthorDiffPerformer()
                                                                   throws DiffException
        Create an Author difference performer.
        Returns:
        a difference performer that can be used to compare Author documents using different algorithms and options.
        Throws:
        DiffException - When it fails to create the diff performer.
      • registerLicenseKey

        public static void registerLicenseKey​(java.io.Reader licenseReader)
                                       throws DiffException
        The license key reader to the diff performer factory.
        Parameters:
        licenseReader - The reader from where the license should be read.
        Throws:
        DiffException - Thrown if the license could not be read.