Package org.apache.tika.eval.app.io
Enum ExtractReaderException.TYPE
- java.lang.Object
-
- java.lang.Enum<ExtractReaderException.TYPE>
-
- org.apache.tika.eval.app.io.ExtractReaderException.TYPE
-
- All Implemented Interfaces:
Serializable
,Comparable<ExtractReaderException.TYPE>
- Enclosing class:
- ExtractReaderException
public static enum ExtractReaderException.TYPE extends Enum<ExtractReaderException.TYPE>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXTRACT_FILE_TOO_LONG
EXTRACT_FILE_TOO_SHORT
EXTRACT_PARSE_EXCEPTION
INCORRECT_EXTRACT_FILE_SUFFIX
IO_EXCEPTION
NO_EXTRACT_FILE
ZERO_BYTE_EXTRACT_FILE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExtractReaderException.TYPE
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExtractReaderException.TYPE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_EXTRACT_FILE
public static final ExtractReaderException.TYPE NO_EXTRACT_FILE
-
ZERO_BYTE_EXTRACT_FILE
public static final ExtractReaderException.TYPE ZERO_BYTE_EXTRACT_FILE
-
IO_EXCEPTION
public static final ExtractReaderException.TYPE IO_EXCEPTION
-
EXTRACT_PARSE_EXCEPTION
public static final ExtractReaderException.TYPE EXTRACT_PARSE_EXCEPTION
-
EXTRACT_FILE_TOO_SHORT
public static final ExtractReaderException.TYPE EXTRACT_FILE_TOO_SHORT
-
EXTRACT_FILE_TOO_LONG
public static final ExtractReaderException.TYPE EXTRACT_FILE_TOO_LONG
-
INCORRECT_EXTRACT_FILE_SUFFIX
public static final ExtractReaderException.TYPE INCORRECT_EXTRACT_FILE_SUFFIX
-
-
Method Detail
-
values
public static ExtractReaderException.TYPE[] 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 (ExtractReaderException.TYPE c : ExtractReaderException.TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExtractReaderException.TYPE 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 nameNullPointerException
- if the argument is null
-
-