Enum StatusCode

    • Enum Constant Detail

      • SUCCESSFUL

        public static final StatusCode SUCCESSFUL
      • CREATE_NOT_ALLOWED

        public static final StatusCode CREATE_NOT_ALLOWED
      • NOT_PERFORMED

        public static final StatusCode NOT_PERFORMED
      • FILE_DOES_NOT_EXIST

        public static final StatusCode FILE_DOES_NOT_EXIST
      • DELETE_NOT_ALLOWED

        public static final StatusCode DELETE_NOT_ALLOWED
      • OLD_FILE_NAME_DOES_NOT_EXIST

        public static final StatusCode OLD_FILE_NAME_DOES_NOT_EXIST
      • NEW_FILE_NAME_ALREADY_EXISTS

        public static final StatusCode NEW_FILE_NAME_ALREADY_EXISTS
      • RENAME_NOT_ALLOWED

        public static final StatusCode RENAME_NOT_ALLOWED
      • FILE_NAME_DOES_NOT_EXIST

        public static final StatusCode FILE_NAME_DOES_NOT_EXIST
      • FILE_NAME_2_DOES_NOT_EXIST

        public static final StatusCode FILE_NAME_2_DOES_NOT_EXIST
      • APPEND_NOT_ALLOWED

        public static final StatusCode APPEND_NOT_ALLOWED
      • REPLACE_NOT_ALLOWED

        public static final StatusCode REPLACE_NOT_ALLOWED
      • DIRECTORY_CANNOT_BE_CREATED

        public static final StatusCode DIRECTORY_CANNOT_BE_CREATED
      • DIRECTORY_DOES_NOT_EXIST

        public static final StatusCode DIRECTORY_DOES_NOT_EXIST
    • Method Detail

      • values

        public static StatusCode[] 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 (StatusCode c : StatusCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StatusCode 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
      • getCode

        public byte getCode()
      • readStatusCode

        public static StatusCode readStatusCode​(byte b)