Class DocumentAnnotatorOptions.Builder
- java.lang.Object
-
- chemaxon.naming.document.annotate.DocumentAnnotatorOptions.Builder
-
- Enclosing class:
- DocumentAnnotatorOptions
@PublicAPI public static class DocumentAnnotatorOptions.Builder extends Object
A builder forDocumentAnnotatorOptions
, allowing for options to be built using a fluent interface.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentAnnotatorOptions
build()
DocumentAnnotatorOptions.Builder
firstPage(Integer firstPage)
DocumentAnnotatorOptions.Builder
lastPage(Integer lastPage)
DocumentAnnotatorOptions.Builder
nameStructureFormat(String value)
DocumentAnnotatorOptions.Builder
popupImageFormat(DocumentAnnotatorOptions.ImageFormat value)
DocumentAnnotatorOptions.Builder
setListener(DocumentAnnotator.Listener listener)
DocumentAnnotatorOptions.Builder
structureFormat(String value)
DocumentAnnotatorOptions.Builder
useOpticalCharacterRecognition(Boolean value)
-
-
-
Method Detail
-
firstPage
public DocumentAnnotatorOptions.Builder firstPage(Integer firstPage)
-
lastPage
public DocumentAnnotatorOptions.Builder lastPage(Integer lastPage)
-
setListener
public DocumentAnnotatorOptions.Builder setListener(DocumentAnnotator.Listener listener)
-
useOpticalCharacterRecognition
public DocumentAnnotatorOptions.Builder useOpticalCharacterRecognition(Boolean value)
-
structureFormat
public DocumentAnnotatorOptions.Builder structureFormat(String value)
-
nameStructureFormat
public DocumentAnnotatorOptions.Builder nameStructureFormat(String value)
-
popupImageFormat
public DocumentAnnotatorOptions.Builder popupImageFormat(DocumentAnnotatorOptions.ImageFormat value)
-
build
public DocumentAnnotatorOptions build()
-
-