public enum FileHash extends Enum<FileHash>
| Enum Constant and Description |
|---|
SHA1
Represents the SHA1 hash
|
SHA512
Represents the SHA512 hash
|
| Modifier and Type | Method and Description |
|---|---|
static FileHash |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileHash[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="sha1") public static final FileHash SHA1
@SerializedName(value="sha512") public static final FileHash SHA512
public static FileHash[] values()
for (FileHash c : FileHash.values()) System.out.println(c);
public static FileHash valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2026. All rights reserved.