public enum ExeState extends Enum<ExeState>
| Enum Constant and Description |
|---|
CANNOT_BE_READ |
DOES_NOT_EXIST |
IS_A_DIRECTORY |
NOT_A_FILE |
NULL_UNDEFINED |
OK |
| Modifier and Type | Method and Description |
|---|---|
static ExeState |
checkFile(File dotExe) |
String |
getTextMessage() |
String |
getTextMessage(File exe) |
static ExeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExeState NULL_UNDEFINED
public static final ExeState OK
public static final ExeState DOES_NOT_EXIST
public static final ExeState IS_A_DIRECTORY
public static final ExeState NOT_A_FILE
public static final ExeState CANNOT_BE_READ
public static ExeState[] values()
for (ExeState c : ExeState.values()) System.out.println(c);
public static ExeState 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 String getTextMessage()
Copyright © 2017. All rights reserved.