Interface AssetChecksumGenerator

    • Method Detail

      • generateChecksum

        java.lang.String generateChecksum​(Resource resource)
                                   throws java.io.IOException
        Given a raw resource, generates an MD5 checksum of the resource's contents.
        Parameters:
        resource -
        Returns:
        checksum of contents
        Throws:
        java.io.IOException
      • generateChecksum

        java.lang.String generateChecksum​(StreamableResource resource)
                                   throws java.io.IOException
        Given a streamable resource, generates an MD5 checksum of the resource's contents.
        Parameters:
        resource -
        Returns:
        checksum of contents
        Throws:
        java.io.IOException