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