defapply(s: String): Array[Byte]

final defasInstanceOf[T0]: T0

defcontentsIfLocal(uri: URI): Array[Byte]

If the URI represents a local file (the scheme is "file"),
this method calculates the SHA-1 hash of the contents of that file.

If the URI represents a local file (the scheme is "file"),
this method calculates the SHA-1 hash of the contents of that file.
Otherwise, this methods calculates the SHA-1 hash of the normalized string representation of the URI.