public static class ConvertToHtmlOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
ConvertToHtmlOptions.Builder()
Instantiates a new builder.
|
ConvertToHtmlOptions.Builder(java.io.InputStream file,
java.lang.String filename)
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 |
filename(java.lang.String filename)
Set the filename.
|
ConvertToHtmlOptions.Builder |
modelId(java.lang.String modelId)
Set the modelId.
|
public ConvertToHtmlOptions.Builder()
public ConvertToHtmlOptions.Builder(java.io.InputStream file, java.lang.String filename)
file
- the filefilename
- the filenamepublic ConvertToHtmlOptions build()
public ConvertToHtmlOptions.Builder file(java.io.InputStream file)
file
- the filepublic ConvertToHtmlOptions.Builder filename(java.lang.String filename)
filename
- the filenamepublic ConvertToHtmlOptions.Builder modelId(java.lang.String modelId)
modelId
- the modelIdpublic ConvertToHtmlOptions.Builder fileContentType(java.lang.String fileContentType)
fileContentType
- the fileContentTypepublic ConvertToHtmlOptions.Builder file(java.io.File file) throws java.io.FileNotFoundException
file
- the filejava.io.FileNotFoundException
- if the file could not be found