java.lang.Object
java.io.File
edu.ucsb.nceas.metacat.restservice.multipart.CheckedFile
All Implemented Interfaces:
Serializable, Comparable<File>

public class CheckedFile extends File
A file object with the expected checksum
Author:
tao
See Also:
  • Constructor Details

    • CheckedFile

      public CheckedFile(String path, org.dataone.service.types.v1.Checksum checksum)
      Constructor
      Parameters:
      path -
      checksum -
  • Method Details

    • getChecksum

      public org.dataone.service.types.v1.Checksum getChecksum()
      Get the checksum of this file
      Returns:
      the checksum of this file