com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class ComparisonFacade



  • public class ComparisonFacade
    extends Object

    Represents utility to work with metadata comparison.

    • Constructor Detail

      • ComparisonFacade

        public ComparisonFacade()
    • Method Detail

      • compareDocuments

        public static MetadataPropertyCollection compareDocuments(String path1,
                                                  String path2,
                                                  int searchType)

        Compares the documents like Word, Pdf, PowerPoint and Excel.

        Parameters:
        path1 - Origin document.
        path2 - Comparing document.
        searchType - Defines how to compare documents.
        Returns:
        MetadataPropertyCollection.
      • compareDocuments

        public static MetadataPropertyCollection compareDocuments(InputStream stream1,
                                                  InputStream stream2,
                                                  int searchType)

        Compares the documents like Word, Pdf, PowerPoint and Excel.

        Parameters:
        stream1 - Origin document stream.
        stream2 - Comparing document stream.
        searchType - Defines how to compare documents.
        Returns:
        MetadataPropertyCollection.
      • compareExif

        public static ExifProperty[] compareExif(String path1,
                                 String path2,
                                 int searchType)

        Compares the EXIF images like JPEG, TIFF.

        Parameters:
        path1 - Origin document.
        path2 - Comparing document.
        searchType - Defines how to compare images.
        Returns:
        MetadataPropertyCollection.
      • compareExif

        public static ExifProperty[] compareExif(InputStream stream1,
                                 InputStream stream2,
                                 int searchType)

        Compares the EXIF images like JPEG, TIFF.

        Parameters:
        stream1 - Origin document stream.
        stream2 - Comparing document stream.
        searchType - Defines how to compare images.
        Returns:
        MetadataPropertyCollection.