Class BinaryDiff


  • public class BinaryDiff
    extends java.lang.Object
    Compares the binary content of two inputStreams/paths.
    • Constructor Summary

      Constructors 
      Constructor Description
      BinaryDiff()  
    • Constructor Detail

      • BinaryDiff

        public BinaryDiff()
    • Method Detail

      • diff

        public BinaryDiffResult diff​(java.io.File actual,
                                     byte[] expected)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • diff

        public BinaryDiffResult diff​(java.nio.file.Path actual,
                                     byte[] expected)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • diff

        public BinaryDiffResult diff​(java.io.InputStream actualStream,
                                     byte[] expected)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • diff

        public BinaryDiffResult diff​(java.io.InputStream actualStream,
                                     java.io.InputStream expectedStream)
                              throws java.io.IOException
        Throws:
        java.io.IOException