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(java.io.File dotExe) |
java.lang.String |
getTextMessage() |
java.lang.String |
getTextMessage(java.io.File exe) |
static ExeState |
valueOf(java.lang.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(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 ExeState checkFile(java.io.File dotExe)
public java.lang.String getTextMessage()
public java.lang.String getTextMessage(java.io.File exe)
Copyright © 2020. All Rights Reserved.