Class Hashes

java.lang.Object
com.amilesend.onedrive.resource.item.type.Hashes

public class Hashes extends Object
Describes the hashes for the drive item file contents. Note: Not all services define content hashes.

API Documentation.

See Also:
  • Method Details

    • builder

      public static Hashes.HashesBuilder builder()
    • getSha1Hash

      public String getSha1Hash()
      The SHA1 hash for the file contents.
    • getCrc32Hash

      public String getCrc32Hash()
      The CRC32 in little endian for the file contents.
    • getQuickXorHash

      public String getQuickXorHash()
      A base64-encoded hash that can be used to determine if the file contents have changed.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object