Interface FixityResult


  • public interface FixityResult
    Since:
    Feb 18, 2014
    Author:
    bbpennel
    • Method Detail

      • matches

        boolean matches​(URI checksum)
        Check if the fixity result matches the given checksum URI
        Parameters:
        checksum - the given checksum uri
        Returns:
        fixity result matches the given checksum URI
      • matches

        boolean matches​(long size)
        Check if the fixity result matches the given size
        Parameters:
        size - the given size
        Returns:
        fixity result matches the given size
      • matches

        boolean matches​(long size,
                        URI checksum)
        Does the fixity entry match the given size and checksum?
        Parameters:
        size - bitstream size in bytes
        checksum - checksum URI
        Returns:
        true if both conditions matched