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