public enum ChecksumMode extends java.lang.Enum<ChecksumMode>
Modifier and Type | Field and Description |
---|---|
static ChecksumMode |
dfalt |
Modifier and Type | Method and Description |
---|---|
static ChecksumMode |
asTrueFalse(ChecksumMode mode)
force mode to be TRUE or FALSE
|
static ChecksumMode |
modeFor(java.lang.String s) |
static java.lang.String |
toString(ChecksumMode mode) |
static ChecksumMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChecksumMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChecksumMode NONE
public static final ChecksumMode FALSE
public static final ChecksumMode TRUE
public static final ChecksumMode dfalt
public static ChecksumMode[] values()
for (ChecksumMode c : ChecksumMode.values()) System.out.println(c);
public static ChecksumMode 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 namejava.lang.NullPointerException
- if the argument is nullpublic static java.lang.String toString(ChecksumMode mode)
public static ChecksumMode modeFor(java.lang.String s)
public static ChecksumMode asTrueFalse(ChecksumMode mode)
mode
-