Interface ImmutableChecksumsSFV

All Known Subinterfaces:
MutableChecksumsSFV

public interface ImmutableChecksumsSFV
Immutable checksum collection in simple file verification (SFV) file format, which only allows to read serialized file checksums or a combined checksum.
  • Method Details

    • getCombinedValue

      long getCombinedValue()
      Returns:
      a combined CRC32C checksum over all files (for backwards compatibility)
    • write

      void write(OutputStream stream) throws IOException
      Write the checksum collection in SFV format to the given output stream.
      Parameters:
      stream - in which the data will be written to
      Throws:
      IOException
    • getChecksums

      SortedMap<String,Long> getChecksums()
      Returns:
      the map containing the individual file checksums