public class Document
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
hash |
protected java.lang.String |
html |
protected java.lang.String |
label |
protected java.lang.String |
title |
Constructor and Description |
---|
Document() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHash()
Gets the hash.
|
java.lang.String |
getHtml()
Gets the html.
|
java.lang.String |
getLabel()
Gets the label.
|
java.lang.String |
getTitle()
Gets the title.
|
protected java.lang.String title
protected java.lang.String html
protected java.lang.String hash
protected java.lang.String label
public java.lang.String getTitle()
Document title, if detected.
public java.lang.String getHtml()
The input document converted into HTML format.
public java.lang.String getHash()
The MD5 hash value of the input document.
public java.lang.String getLabel()
The label applied to the input document with the calling method's `file_1_label` or `file_2_label` value. This field is specified only in the output of the **Comparing two documents** method.