public static enum OCROperation.SupportedSourceFormat extends Enum<OCROperation.SupportedSourceFormat> implements com.adobe.platform.operation.internal.MediaType
OCROperation.| Enum Constant and Description | 
|---|
PDF
Represents "application/pdf" media type 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getMediaType()
Returns the corresponding media type for this format, intended to be used for  
mediaType parameter in
 FileRef methods. | 
static OCROperation.SupportedSourceFormat | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static OCROperation.SupportedSourceFormat[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final OCROperation.SupportedSourceFormat PDF
public static OCROperation.SupportedSourceFormat[] values()
for (OCROperation.SupportedSourceFormat c : OCROperation.SupportedSourceFormat.values()) System.out.println(c);
public static OCROperation.SupportedSourceFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020 Adobe. All rights reserved.