Class OCRParams
- java.lang.Object
-
- com.adobe.pdfservices.operation.pdfjobs.params.ocr.OCRParams
-
- All Implemented Interfaces:
PDFServicesJobParams
public class OCRParams extends Object implements PDFServicesJobParams
Parameters for converting PDF to a searchable PDF usingOCRJob
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OCRParams.Builder
Builds anOCRParams
instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OCRSupportedLocale
getOCRLocale()
Returns theOCRSupportedLocale
to be used for OCR.OCRSupportedType
getOCRType()
Returns theOCRSupportedType
to be used for OCR.static OCRParams.Builder
ocrParamsBuilder()
Creates a newOCRParams.Builder
.
-
-
-
Method Detail
-
getOCRLocale
public OCRSupportedLocale getOCRLocale()
Returns theOCRSupportedLocale
to be used for OCR.- Returns:
- an
OCRSupportedLocale
instance
-
getOCRType
public OCRSupportedType getOCRType()
Returns theOCRSupportedType
to be used for OCR.- Returns:
- an
OCRSupportedType
instance
-
ocrParamsBuilder
public static OCRParams.Builder ocrParamsBuilder()
Creates a newOCRParams.Builder
.- Returns:
- an
OCRParams.Builder
instance
-
-