Package net.webpdf.wsclient.openapi
Enum OperationDetectBarcode.InputFormatEnum
- java.lang.Object
-
- java.lang.Enum<OperationDetectBarcode.InputFormatEnum>
-
- net.webpdf.wsclient.openapi.OperationDetectBarcode.InputFormatEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationDetectBarcode.InputFormatEnum>
- Enclosing class:
- OperationDetectBarcode
public static enum OperationDetectBarcode.InputFormatEnum extends Enum<OperationDetectBarcode.InputFormatEnum>
Used to select the format of the file with the contents that will be scanned for barcodes. * pdf = PDF document * img = Image document (JPG, PNG, TIF)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationDetectBarcode.InputFormatEnumfromValue(String value)StringgetValue()StringtoString()static OperationDetectBarcode.InputFormatEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationDetectBarcode.InputFormatEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PDF
public static final OperationDetectBarcode.InputFormatEnum PDF
-
IMG
public static final OperationDetectBarcode.InputFormatEnum IMG
-
-
Method Detail
-
values
public static OperationDetectBarcode.InputFormatEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OperationDetectBarcode.InputFormatEnum c : OperationDetectBarcode.InputFormatEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationDetectBarcode.InputFormatEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperationDetectBarcode.InputFormatEnum>
-
fromValue
public static OperationDetectBarcode.InputFormatEnum fromValue(String value)
-
-