public enum DeobfuscationMapFileMode extends java.lang.Enum<DeobfuscationMapFileMode>
| Enum Constant and Description |
|---|
IGNORE
Don't load and don't save
|
OVERWRITE
Don't load, always save
|
READ
Load if found, don't save (default)
|
READ_OR_SAVE
Load if found, save only if new (don't overwrite)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldRead() |
boolean |
shouldWrite() |
static DeobfuscationMapFileMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeobfuscationMapFileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeobfuscationMapFileMode READ
public static final DeobfuscationMapFileMode READ_OR_SAVE
public static final DeobfuscationMapFileMode OVERWRITE
public static final DeobfuscationMapFileMode IGNORE
public static DeobfuscationMapFileMode[] values()
for (DeobfuscationMapFileMode c : DeobfuscationMapFileMode.values()) System.out.println(c);
public static DeobfuscationMapFileMode 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 boolean shouldRead()
public boolean shouldWrite()