Package ai.extend.types
Enum ParseErrorCode
- java.lang.Object
-
- java.lang.Enum<ParseErrorCode>
-
- ai.extend.types.ParseErrorCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ParseErrorCode>
public enum ParseErrorCode extends java.lang.Enum<ParseErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static ParseErrorCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ParseErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_CONFIG_OPTIONS
public static final ParseErrorCode INVALID_CONFIG_OPTIONS
-
UNABLE_TO_DOWNLOAD_FILE
public static final ParseErrorCode UNABLE_TO_DOWNLOAD_FILE
-
FILE_TYPE_NOT_SUPPORTED
public static final ParseErrorCode FILE_TYPE_NOT_SUPPORTED
-
FILE_SIZE_TOO_LARGE
public static final ParseErrorCode FILE_SIZE_TOO_LARGE
-
CORRUPT_FILE
public static final ParseErrorCode CORRUPT_FILE
-
OCR_ERROR
public static final ParseErrorCode OCR_ERROR
-
PASSWORD_PROTECTED_FILE
public static final ParseErrorCode PASSWORD_PROTECTED_FILE
-
FAILED_TO_CONVERT_TO_PDF
public static final ParseErrorCode FAILED_TO_CONVERT_TO_PDF
-
FAILED_TO_GENERATE_TARGET_FORMAT
public static final ParseErrorCode FAILED_TO_GENERATE_TARGET_FORMAT
-
INTERNAL_ERROR
public static final ParseErrorCode INTERNAL_ERROR
-
-
Method Detail
-
values
public static ParseErrorCode[] 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 (ParseErrorCode c : ParseErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParseErrorCode valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<ParseErrorCode>
-
-