public static class ConvertToHtmlOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
ConvertToHtmlOptions.Builder()
Instantiates a new builder.
|
ConvertToHtmlOptions.Builder(java.io.InputStream file)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
ConvertToHtmlOptions |
build()
Builds a ConvertToHtmlOptions.
|
ConvertToHtmlOptions.Builder |
file(java.io.File file)
Set the file.
|
ConvertToHtmlOptions.Builder |
file(java.io.InputStream file)
Set the file.
|
ConvertToHtmlOptions.Builder |
fileContentType(java.lang.String fileContentType)
Set the fileContentType.
|
ConvertToHtmlOptions.Builder |
model(java.lang.String model)
Set the model.
|
public ConvertToHtmlOptions.Builder()
public ConvertToHtmlOptions.Builder(java.io.InputStream file)
file
- the filepublic ConvertToHtmlOptions build()
public ConvertToHtmlOptions.Builder file(java.io.InputStream file)
file
- the filepublic ConvertToHtmlOptions.Builder fileContentType(java.lang.String fileContentType)
fileContentType
- the fileContentTypepublic ConvertToHtmlOptions.Builder model(java.lang.String model)
model
- the modelpublic ConvertToHtmlOptions.Builder file(java.io.File file) throws java.io.FileNotFoundException
file
- the filejava.io.FileNotFoundException
- if the file could not be found