|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Algorithm>
net.sourceforge.jaulp.file.checksum.Algorithm
public enum Algorithm
The Enum Algorithm.
| Enum Constant Summary | |
|---|---|
MD2
The enum constant for MD2 algorithm. |
|
MD4
The enum constant for MD4 algorithm. |
|
MD5
The enum constant for MD5 algorithm. |
|
SHA_1
The enum constant for SHA-1 algorithm. |
|
SHA_256
The enum constant for SHA-256 algorithm. |
|
SHA_384
The enum constant for SHA-384 algorithm. |
|
SHA_512
The enum constant for SHA-512 algorithm. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAlgorithm()
Gets the algorithm. |
static Algorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Algorithm[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Algorithm MD2
public static final Algorithm MD4
public static final Algorithm MD5
public static final Algorithm SHA_1
public static final Algorithm SHA_256
public static final Algorithm SHA_384
public static final Algorithm SHA_512
| Method Detail |
|---|
public static Algorithm[] values()
for (Algorithm c : Algorithm.values()) System.out.println(c);
public static Algorithm valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getAlgorithm()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||