Class Hashes.HashesBuilder

java.lang.Object
com.amilesend.onedrive.resource.item.type.Hashes.HashesBuilder
Enclosing class:
Hashes

public static class Hashes.HashesBuilder extends Object
  • Method Details

    • sha1Hash

      public Hashes.HashesBuilder sha1Hash(String sha1Hash)
      The SHA1 hash for the file contents.
      Returns:
      this.
    • crc32Hash

      public Hashes.HashesBuilder crc32Hash(String crc32Hash)
      The CRC32 in little endian for the file contents.
      Returns:
      this.
    • quickXorHash

      public Hashes.HashesBuilder quickXorHash(String quickXorHash)
      A base64-encoded hash that can be used to determine if the file contents have changed.
      Returns:
      this.
    • build

      public Hashes build()
    • toString

      public String toString()
      Overrides:
      toString in class Object