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 classOCRParams.BuilderBuilds anOCRParamsinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OCRSupportedLocalegetOCRLocale()Returns theOCRSupportedLocaleto be used for OCR.OCRSupportedTypegetOCRType()Returns theOCRSupportedTypeto be used for OCR.static OCRParams.BuilderocrParamsBuilder()Creates a newOCRParams.Builder.
-
-
-
Method Detail
-
getOCRLocale
public OCRSupportedLocale getOCRLocale()
Returns theOCRSupportedLocaleto be used for OCR.- Returns:
- an
OCRSupportedLocaleinstance
-
getOCRType
public OCRSupportedType getOCRType()
Returns theOCRSupportedTypeto be used for OCR.- Returns:
- an
OCRSupportedTypeinstance
-
ocrParamsBuilder
public static OCRParams.Builder ocrParamsBuilder()
Creates a newOCRParams.Builder.- Returns:
- an
OCRParams.Builderinstance
-
-