public static class CompareDocumentsOptions.Builder
extends java.lang.Object
| Constructor and Description | 
|---|
| Builder()Instantiates a new builder. | 
| Builder(java.io.InputStream file1,
       java.io.InputStream file2)Instantiates a new builder with required properties. | 
| Modifier and Type | Method and Description | 
|---|---|
| CompareDocumentsOptions | build()Builds a CompareDocumentsOptions. | 
| CompareDocumentsOptions.Builder | file1(java.io.File file1)Set the file1. | 
| CompareDocumentsOptions.Builder | file1(java.io.InputStream file1)Set the file1. | 
| CompareDocumentsOptions.Builder | file1ContentType(java.lang.String file1ContentType)Set the file1ContentType. | 
| CompareDocumentsOptions.Builder | file1Label(java.lang.String file1Label)Set the file1Label. | 
| CompareDocumentsOptions.Builder | file2(java.io.File file2)Set the file2. | 
| CompareDocumentsOptions.Builder | file2(java.io.InputStream file2)Set the file2. | 
| CompareDocumentsOptions.Builder | file2ContentType(java.lang.String file2ContentType)Set the file2ContentType. | 
| CompareDocumentsOptions.Builder | file2Label(java.lang.String file2Label)Set the file2Label. | 
| CompareDocumentsOptions.Builder | model(java.lang.String model)Set the model. | 
public Builder()
public Builder(java.io.InputStream file1,
               java.io.InputStream file2)
file1 - the file1file2 - the file2public CompareDocumentsOptions build()
public CompareDocumentsOptions.Builder file1(java.io.InputStream file1)
file1 - the file1public CompareDocumentsOptions.Builder file2(java.io.InputStream file2)
file2 - the file2public CompareDocumentsOptions.Builder file1ContentType(java.lang.String file1ContentType)
file1ContentType - the file1ContentTypepublic CompareDocumentsOptions.Builder file2ContentType(java.lang.String file2ContentType)
file2ContentType - the file2ContentTypepublic CompareDocumentsOptions.Builder file1Label(java.lang.String file1Label)
file1Label - the file1Labelpublic CompareDocumentsOptions.Builder file2Label(java.lang.String file2Label)
file2Label - the file2Labelpublic CompareDocumentsOptions.Builder model(java.lang.String model)
model - the modelpublic CompareDocumentsOptions.Builder file1(java.io.File file1) throws java.io.FileNotFoundException
file1 - the file1java.io.FileNotFoundException - if the file could not be foundpublic CompareDocumentsOptions.Builder file2(java.io.File file2) throws java.io.FileNotFoundException
file2 - the file2java.io.FileNotFoundException - if the file could not be found