Class BinaryDiff


  • public class BinaryDiff
    extends java.lang.Object
    Compares the binary content of two streams.
    Author:
    Olivier Michallat
    • Constructor Summary

      Constructors 
      Constructor Description
      BinaryDiff()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BinaryDiffResult diff​(java.io.File actual, byte[] expected)  
      BinaryDiffResult diff​(java.io.InputStream actualStream, java.io.InputStream expectedStream)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.io.InputStream actualStream,
                                     java.io.InputStream expectedStream)
                              throws java.io.IOException
        Throws:
        java.io.IOException