public static enum ChecksumUtil.Algorithm extends Enum<ChecksumUtil.Algorithm>
Enum Constant and Description |
---|
MD2 |
MD5 |
SHA_1 |
SHA_256 |
SHA_384 |
SHA_512 |
Modifier and Type | Method and Description |
---|---|
static ChecksumUtil.Algorithm |
fromString(String input) |
String |
toString() |
static ChecksumUtil.Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChecksumUtil.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChecksumUtil.Algorithm MD2
public static final ChecksumUtil.Algorithm MD5
public static final ChecksumUtil.Algorithm SHA_1
public static final ChecksumUtil.Algorithm SHA_256
public static final ChecksumUtil.Algorithm SHA_384
public static final ChecksumUtil.Algorithm SHA_512
public static ChecksumUtil.Algorithm[] values()
for (ChecksumUtil.Algorithm c : ChecksumUtil.Algorithm.values()) System.out.println(c);
public static ChecksumUtil.Algorithm 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 nullpublic static ChecksumUtil.Algorithm fromString(String input)
public String toString()
toString
in class Enum<ChecksumUtil.Algorithm>
Copyright © 2009–2014 DuraSpace. All rights reserved.