Enum ExeState

    • Enum Constant Detail

      • NULL_UNDEFINED

        public static final ExeState NULL_UNDEFINED
      • DOES_NOT_EXIST

        public static final ExeState DOES_NOT_EXIST
      • IS_A_DIRECTORY

        public static final ExeState IS_A_DIRECTORY
      • NOT_A_FILE

        public static final ExeState NOT_A_FILE
      • CANNOT_BE_READ

        public static final ExeState CANNOT_BE_READ
    • Method Detail

      • values

        public static ExeState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ExeState c : ExeState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ExeState valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • checkFile

        public static ExeState checkFile​(File dotExe)
      • getTextMessage

        public String getTextMessage()
      • getTextMessage

        public String getTextMessage​(File exe)