Package org.exoplatform.documents.model
Enum Class DocumentTextContent.Status
java.lang.Object
java.lang.Enum<DocumentTextContent.Status>
org.exoplatform.documents.model.DocumentTextContent.Status
- All Implemented Interfaces:
Serializable,Comparable<DocumentTextContent.Status>,Constable
- Enclosing class:
DocumentTextContent
Where the text of a file came from, or why there is none.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionToo many extractions were in progress to take this one: a later attempt may succeed.Extracted from the file itself, the search index not holding it.Read from the search index, which had already extracted it.The file was read but holds no text, a scanned document for instance.The document is not a file with a content, a folder for instance.The extraction took longer than allowed and was abandoned.The file is at least as large as the limit of what is extracted on the fly.The file could not be read or parsed.No text extractor handles the file's format. -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentTextContent.StatusReturns the enum constant of this class with the specified name.static DocumentTextContent.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INDEXED
Read from the search index, which had already extracted it. -
EXTRACTED
Extracted from the file itself, the search index not holding it. -
UNSUPPORTED_FORMAT
No text extractor handles the file's format. -
TOO_LARGE
The file is at least as large as the limit of what is extracted on the fly. -
NO_TEXT
The file was read but holds no text, a scanned document for instance. -
NOT_A_FILE
The document is not a file with a content, a folder for instance. -
BUSY
Too many extractions were in progress to take this one: a later attempt may succeed. -
TIMED_OUT
The extraction took longer than allowed and was abandoned. -
UNREADABLE
The file could not be read or parsed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-