@PublicAPI public static enum DocumentAnnotator.DocumentType extends java.lang.Enum<DocumentAnnotator.DocumentType>
Enum Constant and Description |
---|
HTML |
Office |
PDF |
TXT |
Unsupported |
XML |
Modifier and Type | Method and Description |
---|---|
static DocumentAnnotator.DocumentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentAnnotator.DocumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentAnnotator.DocumentType HTML
public static final DocumentAnnotator.DocumentType Office
public static final DocumentAnnotator.DocumentType PDF
public static final DocumentAnnotator.DocumentType TXT
public static final DocumentAnnotator.DocumentType XML
public static final DocumentAnnotator.DocumentType Unsupported
public static DocumentAnnotator.DocumentType[] values()
for (DocumentAnnotator.DocumentType c : DocumentAnnotator.DocumentType.values()) System.out.println(c);
public static DocumentAnnotator.DocumentType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null