Class ContentFormat
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ContentFormat>
com.azure.ai.documentintelligence.models.ContentFormat
Format of the content in analyzed result.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ContentFormat
Markdown representation of the document content with section headings, tables, etc.static final ContentFormat
Plain text representation of the document content without any formatting. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContentFormat
fromString
(String name) Creates or finds a ContentFormat from its string representation.static Collection<ContentFormat>
values()
Gets known ContentFormat values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
TEXT
Plain text representation of the document content without any formatting. -
MARKDOWN
Markdown representation of the document content with section headings, tables, etc.
-
-
Constructor Details
-
ContentFormat
Deprecated.Use thefromString(String)
factory method.Creates a new instance of ContentFormat value.
-
-
Method Details
-
fromString
Creates or finds a ContentFormat from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ContentFormat.
-
values
Gets known ContentFormat values.- Returns:
- known ContentFormat values.
-
fromString(String)
factory method.