Enum StatusCode

    • Enum Constant Detail

      • Successful

        public static final StatusCode Successful
      • CreateNotAllowed

        public static final StatusCode CreateNotAllowed
      • NotPerformed

        public static final StatusCode NotPerformed
      • FileDoesNotExist

        public static final StatusCode FileDoesNotExist
      • DeleteNotAllowed

        public static final StatusCode DeleteNotAllowed
      • OldFileNameDoesNotExist

        public static final StatusCode OldFileNameDoesNotExist
      • NewFileNameAlreadyExists

        public static final StatusCode NewFileNameAlreadyExists
      • RenameNotAllowed

        public static final StatusCode RenameNotAllowed
      • FileName1DoesNotExist

        public static final StatusCode FileName1DoesNotExist
      • FileName2DoesNotExist

        public static final StatusCode FileName2DoesNotExist
      • AppendNotAllowed

        public static final StatusCode AppendNotAllowed
      • ReplaceNotAllowed

        public static final StatusCode ReplaceNotAllowed
      • DirectoryCannotBeCreated

        public static final StatusCode DirectoryCannotBeCreated
      • DirectoryDoesNotExist

        public static final StatusCode DirectoryDoesNotExist
    • 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)