public class ExtractTablesOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
ExtractTablesOptions.Builder
Builder.
|
static interface |
ExtractTablesOptions.Model
The analysis model to be used by the service.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
file()
Gets the file.
|
String |
fileContentType()
Gets the fileContentType.
|
String |
model()
Gets the model.
|
ExtractTablesOptions.Builder |
newBuilder()
New builder.
|
public ExtractTablesOptions.Builder newBuilder()
public InputStream file()
The document on which to run table extraction.
public String fileContentType()
The content type of file. Values for this parameter can be obtained from the HttpMediaType class.
public String model()
The analysis model to be used by the service. For the **Element classification** and **Compare two documents** methods, the default is `contracts`. For the **Extract tables** method, the default is `tables`. These defaults apply to the standalone methods as well as to the methods' use in batch-processing requests.
Copyright © 2021 IBM Cloud. All rights reserved.