MCPcopy Create free account
hub / github.com/KilianB/JImageHash / fromFile

Method fromFile

src/main/java/dev/brachtendorf/jimagehash/hash/Hash.java:380–389  ·  view source on GitHub ↗

Reads a hash from a serialization file and returns it. Only hashes can be read from file that got saved by the same class instance using #toFile(File); @param source The file this hash can be read from. @return a hash object @throws IOException If an error occurs during file read

(File source)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

reconstructHashMethod · 0.95
reconstructHashMethod · 0.95

Calls 2

fromFileMethod · 0.95
readObjectMethod · 0.45

Tested by 2

reconstructHashMethod · 0.76
reconstructHashMethod · 0.76