AnalysisContent Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. AnalysisContent
- com.
Implements
public class AnalysisContent
implements JsonSerializable<AnalysisContent>
Media content base class.
Constructor Summary
| Modifier | Constructor | Description |
|---|---|---|
| protected | AnalysisContent(String mimeType) |
Creates an instance of Analysis |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Analysis |
fromJson(JsonReader jsonReader)
Reads an instance of Analysis |
| String |
getAnalyzerId()
Get the analyzer |
| String |
getCategory()
Get the category property: Classified content category. |
|
Map<String,Content |
getFields()
Get the fields property: Extracted fields from the content. |
|
Analysis |
getKind()
Get the kind property: Content kind. |
| String |
getMarkdown()
Get the markdown property: Markdown representation of the content. |
| String |
getMimeType()
Get the mime |
| String |
getPath()
Get the path property: The path of the content in the input. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AnalysisContent
protected AnalysisContent(String mimeType)
Creates an instance of AnalysisContent class.
Parameters:
Method Details
fromJson
public static AnalysisContent fromJson(JsonReader jsonReader)
Reads an instance of AnalysisContent from the JsonReader.
Parameters:
Returns:
Throws:
getAnalyzerId
public String getAnalyzerId()
Get the analyzerId property: The analyzer that generated this content.
Returns:
getCategory
public String getCategory()
Get the category property: Classified content category.
Returns:
getFields
public Map<String,ContentField> getFields()
Get the fields property: Extracted fields from the content.
Returns:
getKind
public AnalysisContentKind getKind()
Get the kind property: Content kind.
Returns:
getMarkdown
public String getMarkdown()
Get the markdown property: Markdown representation of the content.
Returns:
getMimeType
public String getMimeType()
Get the mimeType property: Detected MIME type of the content. Ex. application/pdf, image/jpeg, etc.
Returns:
getPath
public String getPath()
Get the path property: The path of the content in the input.
Returns: