Class DecodeType
- java.lang.Object
-
- com.aspose.barcode.barcoderecognition.DecodeType
-
public class DecodeType extends java.lang.Object
Specify the type of barcode to read.
This sample shows how to detect Code39 and Code128 barcodes.
BarCodeReader reader = new BarCodeReader("c:\\test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); for(BarCodeResult result : reader.readBarCodes()) { System.out.println("BarCode Type: " + result.getCodeTypeName()); System.out.println("BarCode CodeText: " + result.getCodeText()); }
-
-
Field Summary
Fields Modifier and Type Field Description static MultyDecodeType
ALL_SUPPORTED_TYPES
Specifies that data will be checked with all available symbologiesstatic SingleDecodeType
AUSTRALIA_POST
Specifies that the data should be decoded with<b>Australia Post</b>
barcode specificationstatic SingleDecodeType
AUSTRALIAN_POSTE_PARCEL
Specifies that the data should be decoded with<b>Australian Post Domestic eParcel Barcode</b>
barcode specificationstatic SingleDecodeType
AZTEC
Specifies that the data should be decoded with<b>Aztec</b>
barcode specificationstatic SingleDecodeType
CODABAR
Specifies that the data should be decoded with<b>CODABAR</b>
barcode specificationstatic SingleDecodeType
CODABLOCK_F
Specifies that the data should be decoded with<b>CodablockF</b>
barcode specificationstatic SingleDecodeType
CODE_11
Specifies that the data should be decoded with<b>CODE 11</b>
barcode specificationstatic SingleDecodeType
CODE_128
Specifies that the data should be decoded with<b>CODE 128</b>
barcode specificationstatic SingleDecodeType
CODE_16_K
Specifies that the data should be decoded with<b>SCode16K</b>
barcode specificationstatic SingleDecodeType
CODE_32
Specifies that the data should be decoded with<b>Code32</b>
blank specificationstatic SingleDecodeType
CODE_39_EXTENDED
Specifies that the data should be decoded with<b>Extended CODE 39</b>
barcode specificationstatic SingleDecodeType
CODE_39_STANDARD
Specifies that the data should be decoded with<b>Standard CODE 39</b>
barcode specificationstatic SingleDecodeType
CODE_93_EXTENDED
Specifies that the data should be decoded with<b>Extended CODE 93</b>
barcode specificationstatic SingleDecodeType
CODE_93_STANDARD
Specifies that the data should be decoded with<b>Standard CODE 93</b>
barcode specificationstatic SingleDecodeType
COMPACT_PDF_417
Specifies that the data should be decoded with<b>CompactPdf417</b>
(Pdf417Truncated) barcode specificationstatic SingleDecodeType
DATA_LOGIC_2_OF_5
Specifies that the data should be decoded with<b>DataLogic 2 of 5</b>
blank specificationstatic SingleDecodeType
DATA_MATRIX
Specifies that the data should be decoded with<b>DataMatrix</b>
barcode symbologystatic SingleDecodeType
DATABAR_EXPANDED
Specifies that the data should be decoded with<b>GS1 DATABAR expanded</b>
barcode specificationstatic SingleDecodeType
DATABAR_EXPANDED_STACKED
Specifies that the data should be decoded with<b>GS1 DATABAR expanded stacked</b>
barcode specificationstatic SingleDecodeType
DATABAR_LIMITED
Specifies that the data should be decoded with<b>GS1 DATABAR limited</b>
barcode specificationstatic SingleDecodeType
DATABAR_OMNI_DIRECTIONAL
Specifies that the data should be decoded with<b>GS1 DATABAR omni-directional</b>
barcode specificationstatic SingleDecodeType
DATABAR_STACKED
Specifies that the data should be decoded with<b>GS1 DATABAR stacked</b>
barcode specificationstatic SingleDecodeType
DATABAR_STACKED_OMNI_DIRECTIONAL
Specifies that the data should be decoded with<b>GS1 DATABAR stacked omni-directional</b>
barcode specificationstatic SingleDecodeType
DATABAR_TRUNCATED
Specifies that the data should be decoded with<b>GS1 DATABAR truncated</b>
barcode specificationstatic SingleDecodeType
DEUTSCHE_POST_IDENTCODE
Specifies that the data should be decoded with<b>DeutschePost Ident code</b>
barcode specificationstatic SingleDecodeType
DEUTSCHE_POST_LEITCODE
Specifies that the data should be decoded with<b>DeutschePost Leit code</b>
barcode specificationstatic SingleDecodeType
DOT_CODE
Specifies that the data should be decoded with<b>DotCode</b>
blank specificationstatic SingleDecodeType
DUTCH_KIX
Specifies that the data should be decoded with<b>DotCode</b>
blank specificationstatic SingleDecodeType
EAN_13
Specifies that the data should be decoded with<b>EAN-13</b>
barcode specificationstatic SingleDecodeType
EAN_14
Specifies that the data should be decoded with<b>EAN14</b>
barcode specificationstatic SingleDecodeType
EAN_8
Specifies that the data should be decoded with<b>EAN-8</b>
barcode specificationstatic SingleDecodeType
GS_1_CODE_128
Specifies that the data should be decoded with<b>GS1 CODE 128</b>
barcode specificationstatic SingleDecodeType
GS_1_DATA_MATRIX
Specifies that the data should be decoded with<b>GS1DataMatrix</b>
barcode symbologystatic SingleDecodeType
GS_1_QR
Specifies that the data should be decoded with<b>GS1 QR</b>
barcode specificationstatic SingleDecodeType
IATA_2_OF_5
Specifies that the data should be decoded with<b>IATA 2 of 5</b>
barcode specification.static SingleDecodeType
INTERLEAVED_2_OF_5
Specifies that the data should be decoded with<b>INTERLEAVED 2 of 5</b>
barcode specificationstatic SingleDecodeType
ISBN
Specifies that the data should be decoded with<b>ISBN</b>
barcode specificationstatic SingleDecodeType
ISMN
Specifies that the data should be decoded with<b>ISMN</b>
barcode specificationstatic SingleDecodeType
ISSN
Specifies that the data should be decoded with<b>ISSN</b>
barcode specificationstatic SingleDecodeType
ITALIAN_POST_25
Specifies that the data should be decoded with<b>Italian Post 25</b>
barcode specificationstatic SingleDecodeType
ITF_14
Specifies that the data should be decoded with<b>ITF14</b>
barcode specificationstatic SingleDecodeType
ITF_6
Specifies that the data should be decoded with<b>ITF6</b>
barcode specificationstatic SingleDecodeType
MACRO_PDF_417
Specifies that the data should be decoded with<b>MacroPdf417</b>
barcode specificationstatic SingleDecodeType
MAILMARK
Specifies that the data should be decoded with Royal Mail Mailmark barcode specification.static SingleDecodeType
MATRIX_2_OF_5
Specifies that the data should be decoded with<b>Matrix 2 of 5</b>
barcode specificationstatic SingleDecodeType
MAXI_CODE
Specifies that the data should be decoded with<b>MaxiCode</b>
barcode specificationstatic SingleDecodeType
MICR_E_13_B
Specifies that the data should be decoded with<b>MICR E-13B</b>
blank specificationstatic SingleDecodeType
MICRO_PDF_417
Specifies that the data should be decoded with<b>MicroPdf417</b>
barcode specificationstatic SingleDecodeType
MICRO_QR
Specifies that the data should be decoded with<b>MicroQR Code</b>
barcode specificationstatic MultyDecodeType
MOST_COMMON_TYPES
Specifies that data will be checked with most commonly used symbologiesstatic SingleDecodeType
MSI
Specifies that the data should be decoded with<b>MSI Plessey</b>
barcode specificationstatic SingleDecodeType
NONE
Unspecified decode type.static SingleDecodeType
ONE_CODE
Specifies that the data should be decoded with USPS<b>OneCode</b>
barcode specificationstatic SingleDecodeType
OPC
Specifies that the data should be decoded with<b>OPC</b>
barcode specificationstatic SingleDecodeType
PATCH_CODE
Specifies that the data should be decoded with<b>Patch code</b>
barcode specification.static SingleDecodeType
PDF_417
Specifies that the data should be decoded with<b>Pdf417</b>
barcode symbologystatic SingleDecodeType
PHARMACODE
Specifies that the data should be decoded with<b>Pharmacode</b>
barcode.static SingleDecodeType
PLANET
Specifies that the data should be decoded with<b>Planet</b>
barcode specificationstatic MultyDecodeType
POSTAL_TYPES
Specifies that data will be checked with all of 1.5D POSTAL barcode symbologies, like Planet, Postnet, AustraliaPost, OneCode, RM4SCC, DutchKIXstatic SingleDecodeType
POSTNET
Specifies that the data should be decoded with<b>Postnet</b>
barcode specificationstatic SingleDecodeType
PZN
Specifies that the data should be decoded with<b>PZN</b>
barcode specification.static SingleDecodeType
QR
Specifies that the data should be decoded with<b>QR Code</b>
barcode specificationstatic SingleDecodeType
RM_4_SCC
Specifies that the data should be decoded with<b>RM4SCC</b>
barcode specification.static SingleDecodeType
SCC_14
Specifies that the data should be decoded with<b>SCC14</b>
barcode specificationstatic SingleDecodeType
SSCC_18
Specifies that the data should be decoded with<b>SSCC18</b>
barcode specificationstatic SingleDecodeType
STANDARD_2_OF_5
Specifies that the data should be decoded with<b>Standard 2 of 5</b>
barcode specificationstatic SingleDecodeType
SUPPLEMENT
Specifies that the data should be decoded with<b>Supplement(EAN2, EAN5)</b>
barcode specificationstatic SingleDecodeType
SWISS_POST_PARCEL
Specifies that the data should be decoded with<b>Swiss Post Parcel Barcode</b>
barcode specificationstatic MultyDecodeType
TYPES_1D
Specifies that data will be checked with all of 1D barcode symbologiesstatic MultyDecodeType
TYPES_2D
static SingleDecodeType
UPCA
Specifies that the data should be decoded with<b>UPC-A</b>
barcode specificationstatic SingleDecodeType
UPCE
Specifies that the data should be decoded with<b>UPC-E</b>
barcode specificationstatic SingleDecodeType
VIN
Specifies that the data should be decoded with<b>VIN</b>
(Vehicle Identification Number) barcode specification
-
Constructor Summary
Constructors Constructor Description DecodeType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SingleDecodeType[]
getAllSupportedTypesArray()
Gets an array that represents AllSupportedTypesstatic java.lang.String[]
getNames()
Retrieves an array of the names of the decode types.static boolean
is1D(BaseDecodeType symbology)
static boolean
is2D(BaseDecodeType symbology)
Determines if the specifiedcontains any 2D barcode symbology static boolean
isPostal(BaseDecodeType symbology)
Determines if the specifiedcontains any Postal barcode symbology static SingleDecodeType
parse(java.lang.String parsingType)
Converts the string representation of a SingleDecodeType to its instance.static BaseDecodeType
scanSets(BaseDecodeType... barcodeTypes)
Specify scan sets by barcodeTypesstatic MultyDecodeType
tryParseMultyDecodeType(java.lang.String parsingType)
Converts the string representation of a MultyDecodeType to its instance.static SingleDecodeType
tryParseSingleDecodeType(java.lang.String parsingType)
Converts the string representation of a SingleDecodeType to its instance.
-
-
-
Field Detail
-
NONE
public static final SingleDecodeType NONE
Unspecified decode type.
-
CODABAR
public static final SingleDecodeType CODABAR
Specifies that the data should be decoded with
<b>CODABAR</b>
barcode specification
-
CODE_11
public static final SingleDecodeType CODE_11
Specifies that the data should be decoded with
<b>CODE 11</b>
barcode specification
-
CODE_39_STANDARD
public static final SingleDecodeType CODE_39_STANDARD
Specifies that the data should be decoded with
<b>Standard CODE 39</b>
barcode specification
-
CODE_39_EXTENDED
public static final SingleDecodeType CODE_39_EXTENDED
Specifies that the data should be decoded with
<b>Extended CODE 39</b>
barcode specification
-
CODE_93_STANDARD
public static final SingleDecodeType CODE_93_STANDARD
Specifies that the data should be decoded with
<b>Standard CODE 93</b>
barcode specification
-
CODE_93_EXTENDED
public static final SingleDecodeType CODE_93_EXTENDED
Specifies that the data should be decoded with
<b>Extended CODE 93</b>
barcode specification
-
CODE_128
public static final SingleDecodeType CODE_128
Specifies that the data should be decoded with
<b>CODE 128</b>
barcode specification
-
GS_1_CODE_128
public static final SingleDecodeType GS_1_CODE_128
Specifies that the data should be decoded with
<b>GS1 CODE 128</b>
barcode specification
-
EAN_8
public static final SingleDecodeType EAN_8
Specifies that the data should be decoded with
<b>EAN-8</b>
barcode specification
-
EAN_13
public static final SingleDecodeType EAN_13
Specifies that the data should be decoded with
<b>EAN-13</b>
barcode specification
-
EAN_14
public static final SingleDecodeType EAN_14
Specifies that the data should be decoded with
<b>EAN14</b>
barcode specification
-
SCC_14
public static final SingleDecodeType SCC_14
Specifies that the data should be decoded with
<b>SCC14</b>
barcode specification
-
SSCC_18
public static final SingleDecodeType SSCC_18
Specifies that the data should be decoded with
<b>SSCC18</b>
barcode specification
-
UPCA
public static final SingleDecodeType UPCA
Specifies that the data should be decoded with
<b>UPC-A</b>
barcode specification
-
UPCE
public static final SingleDecodeType UPCE
Specifies that the data should be decoded with
<b>UPC-E</b>
barcode specification
-
ISBN
public static final SingleDecodeType ISBN
Specifies that the data should be decoded with
<b>ISBN</b>
barcode specification
-
STANDARD_2_OF_5
public static final SingleDecodeType STANDARD_2_OF_5
Specifies that the data should be decoded with
<b>Standard 2 of 5</b>
barcode specification
-
INTERLEAVED_2_OF_5
public static final SingleDecodeType INTERLEAVED_2_OF_5
Specifies that the data should be decoded with
<b>INTERLEAVED 2 of 5</b>
barcode specification
-
MATRIX_2_OF_5
public static final SingleDecodeType MATRIX_2_OF_5
Specifies that the data should be decoded with
<b>Matrix 2 of 5</b>
barcode specification
-
ITALIAN_POST_25
public static final SingleDecodeType ITALIAN_POST_25
Specifies that the data should be decoded with
<b>Italian Post 25</b>
barcode specification
-
IATA_2_OF_5
public static final SingleDecodeType IATA_2_OF_5
Specifies that the data should be decoded with
<b>IATA 2 of 5</b>
barcode specification. IATA (International Air Transport Association) uses this barcode for the management of air cargo.
-
ITF_14
public static final SingleDecodeType ITF_14
Specifies that the data should be decoded with
<b>ITF14</b>
barcode specification
-
ITF_6
public static final SingleDecodeType ITF_6
Specifies that the data should be decoded with
<b>ITF6</b>
barcode specification
-
MSI
public static final SingleDecodeType MSI
Specifies that the data should be decoded with
<b>MSI Plessey</b>
barcode specification
-
VIN
public static final SingleDecodeType VIN
Specifies that the data should be decoded with
<b>VIN</b>
(Vehicle Identification Number) barcode specification
-
DEUTSCHE_POST_IDENTCODE
public static final SingleDecodeType DEUTSCHE_POST_IDENTCODE
Specifies that the data should be decoded with
<b>DeutschePost Ident code</b>
barcode specification
-
DEUTSCHE_POST_LEITCODE
public static final SingleDecodeType DEUTSCHE_POST_LEITCODE
Specifies that the data should be decoded with
<b>DeutschePost Leit code</b>
barcode specification
-
OPC
public static final SingleDecodeType OPC
Specifies that the data should be decoded with
<b>OPC</b>
barcode specification
-
PZN
public static final SingleDecodeType PZN
Specifies that the data should be decoded with
<b>PZN</b>
barcode specification. This symbology is also known as Pharma Zentral Nummer
-
PHARMACODE
public static final SingleDecodeType PHARMACODE
Specifies that the data should be decoded with
<b>Pharmacode</b>
barcode. This symbology is also known as Pharmaceutical BINARY Code
-
DATA_MATRIX
public static final SingleDecodeType DATA_MATRIX
Specifies that the data should be decoded with
<b>DataMatrix</b>
barcode symbology
-
GS_1_DATA_MATRIX
public static final SingleDecodeType GS_1_DATA_MATRIX
Specifies that the data should be decoded with
<b>GS1DataMatrix</b>
barcode symbology
-
QR
public static final SingleDecodeType QR
Specifies that the data should be decoded with
<b>QR Code</b>
barcode specification
-
AZTEC
public static final SingleDecodeType AZTEC
Specifies that the data should be decoded with
<b>Aztec</b>
barcode specification
-
PDF_417
public static final SingleDecodeType PDF_417
Specifies that the data should be decoded with
<b>Pdf417</b>
barcode symbology
-
MACRO_PDF_417
public static final SingleDecodeType MACRO_PDF_417
Specifies that the data should be decoded with
<b>MacroPdf417</b>
barcode specification
-
MICRO_PDF_417
public static final SingleDecodeType MICRO_PDF_417
Specifies that the data should be decoded with
<b>MicroPdf417</b>
barcode specification
-
CODABLOCK_F
public static final SingleDecodeType CODABLOCK_F
Specifies that the data should be decoded with
<b>CodablockF</b>
barcode specification
-
AUSTRALIA_POST
public static final SingleDecodeType AUSTRALIA_POST
Specifies that the data should be decoded with
<b>Australia Post</b>
barcode specification
-
POSTNET
public static final SingleDecodeType POSTNET
Specifies that the data should be decoded with
<b>Postnet</b>
barcode specification
-
PLANET
public static final SingleDecodeType PLANET
Specifies that the data should be decoded with
<b>Planet</b>
barcode specification
-
ONE_CODE
public static final SingleDecodeType ONE_CODE
Specifies that the data should be decoded with USPS
<b>OneCode</b>
barcode specification
-
RM_4_SCC
public static final SingleDecodeType RM_4_SCC
Specifies that the data should be decoded with
<b>RM4SCC</b>
barcode specification. RM4SCC (Royal Mail 4-state Customer Code) is used for automated mail sort process in UK.
-
MAILMARK
public static final SingleDecodeType MAILMARK
Specifies that the data should be decoded with Royal Mail Mailmark barcode specification.
-
DATABAR_OMNI_DIRECTIONAL
public static final SingleDecodeType DATABAR_OMNI_DIRECTIONAL
Specifies that the data should be decoded with
<b>GS1 DATABAR omni-directional</b>
barcode specification
-
DATABAR_TRUNCATED
public static final SingleDecodeType DATABAR_TRUNCATED
Specifies that the data should be decoded with
<b>GS1 DATABAR truncated</b>
barcode specification
-
DATABAR_LIMITED
public static final SingleDecodeType DATABAR_LIMITED
Specifies that the data should be decoded with
<b>GS1 DATABAR limited</b>
barcode specification
-
DATABAR_EXPANDED
public static final SingleDecodeType DATABAR_EXPANDED
Specifies that the data should be decoded with
<b>GS1 DATABAR expanded</b>
barcode specification
-
DATABAR_STACKED_OMNI_DIRECTIONAL
public static final SingleDecodeType DATABAR_STACKED_OMNI_DIRECTIONAL
Specifies that the data should be decoded with
<b>GS1 DATABAR stacked omni-directional</b>
barcode specification
-
DATABAR_STACKED
public static final SingleDecodeType DATABAR_STACKED
Specifies that the data should be decoded with
<b>GS1 DATABAR stacked</b>
barcode specification
-
DATABAR_EXPANDED_STACKED
public static final SingleDecodeType DATABAR_EXPANDED_STACKED
Specifies that the data should be decoded with
<b>GS1 DATABAR expanded stacked</b>
barcode specification
-
PATCH_CODE
public static final SingleDecodeType PATCH_CODE
Specifies that the data should be decoded with
<b>Patch code</b>
barcode specification. Barcode symbology is used for automated scanning
-
ISSN
public static final SingleDecodeType ISSN
Specifies that the data should be decoded with
<b>ISSN</b>
barcode specification
-
ISMN
public static final SingleDecodeType ISMN
Specifies that the data should be decoded with
<b>ISMN</b>
barcode specification
-
SUPPLEMENT
public static final SingleDecodeType SUPPLEMENT
Specifies that the data should be decoded with
<b>Supplement(EAN2, EAN5)</b>
barcode specification
-
AUSTRALIAN_POSTE_PARCEL
public static final SingleDecodeType AUSTRALIAN_POSTE_PARCEL
Specifies that the data should be decoded with
<b>Australian Post Domestic eParcel Barcode</b>
barcode specification
-
SWISS_POST_PARCEL
public static final SingleDecodeType SWISS_POST_PARCEL
Specifies that the data should be decoded with
<b>Swiss Post Parcel Barcode</b>
barcode specification
-
CODE_16_K
public static final SingleDecodeType CODE_16_K
Specifies that the data should be decoded with
<b>SCode16K</b>
barcode specification
-
MICRO_QR
public static final SingleDecodeType MICRO_QR
Specifies that the data should be decoded with
<b>MicroQR Code</b>
barcode specification
-
COMPACT_PDF_417
public static final SingleDecodeType COMPACT_PDF_417
Specifies that the data should be decoded with
<b>CompactPdf417</b>
(Pdf417Truncated) barcode specification
-
GS_1_QR
public static final SingleDecodeType GS_1_QR
Specifies that the data should be decoded with
<b>GS1 QR</b>
barcode specification
-
MAXI_CODE
public static final SingleDecodeType MAXI_CODE
Specifies that the data should be decoded with
<b>MaxiCode</b>
barcode specification
-
MICR_E_13_B
public static final SingleDecodeType MICR_E_13_B
Specifies that the data should be decoded with
<b>MICR E-13B</b>
blank specification
-
CODE_32
public static final SingleDecodeType CODE_32
Specifies that the data should be decoded with
<b>Code32</b>
blank specification
-
DATA_LOGIC_2_OF_5
public static final SingleDecodeType DATA_LOGIC_2_OF_5
Specifies that the data should be decoded with
<b>DataLogic 2 of 5</b>
blank specification
-
DOT_CODE
public static final SingleDecodeType DOT_CODE
Specifies that the data should be decoded with
<b>DotCode</b>
blank specification
-
DUTCH_KIX
public static final SingleDecodeType DUTCH_KIX
Specifies that the data should be decoded with
<b>DotCode</b>
blank specification
-
ALL_SUPPORTED_TYPES
public static final MultyDecodeType ALL_SUPPORTED_TYPES
Specifies that data will be checked with all available symbologies
-
TYPES_1D
public static final MultyDecodeType TYPES_1D
Specifies that data will be checked with all of 1D barcode symbologies
-
TYPES_2D
public static final MultyDecodeType TYPES_2D
-
POSTAL_TYPES
public static final MultyDecodeType POSTAL_TYPES
Specifies that data will be checked with all of 1.5D POSTAL barcode symbologies, like Planet, Postnet, AustraliaPost, OneCode, RM4SCC, DutchKIX
-
MOST_COMMON_TYPES
public static final MultyDecodeType MOST_COMMON_TYPES
Specifies that data will be checked with most commonly used symbologies
-
-
Method Detail
-
getNames
public static java.lang.String[] getNames()
Retrieves an array of the names of the decode types.
- Returns:
- A string array of the names of the decode types.
-
tryParseSingleDecodeType
public static SingleDecodeType tryParseSingleDecodeType(java.lang.String parsingType)
Converts the string representation of a SingleDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.
- Parameters:
parsingType
- A string in the format as "Index:-1; Name:NONE" to convert.- Returns:
- An actual SingleDecodeType returns, when conversion has completed successfully;
otherwise it returns indefinite type. or SingleDecodeType (-1, "NONE").
-
tryParseMultyDecodeType
public static MultyDecodeType tryParseMultyDecodeType(java.lang.String parsingType)
Converts the string representation of a MultyDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.
- Parameters:
parsingType
- A string in the format as either "AllSupportedTypes" or "EAN8,EAN13,CodaBar" to convert.- Returns:
- An actual MultyDecodeType is returned, when conversion has completed successfully;
otherwise it returns indefinite type. or MultyDecodeType ("NONE").
-
is1D
public static boolean is1D(BaseDecodeType symbology)
-
isPostal
public static boolean isPostal(BaseDecodeType symbology)
Determines if the specifiedcontains any Postal barcode symbology - Parameters:
symbology
- Theto test - Returns:
- Returns true if
contains any Postal barcode symbology; otherwise, returns false.
-
is2D
public static boolean is2D(BaseDecodeType symbology)
Determines if the specifiedcontains any 2D barcode symbology - Parameters:
symbology
- Theto test. - Returns:
- Returns true if
contains any 2D barcode symbology; otherwise, returns false.
-
getAllSupportedTypesArray
public static SingleDecodeType[] getAllSupportedTypesArray()
Gets an array that represents AllSupportedTypes
- Returns:
-
scanSets
public static BaseDecodeType scanSets(BaseDecodeType... barcodeTypes)
Specify scan sets by barcodeTypes
- Parameters:
barcodeTypes
- Array of single and multy decode types- Returns:
- A multi decode type
-
parse
public static SingleDecodeType parse(java.lang.String parsingType)
Converts the string representation of a SingleDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.
- Parameters:
parsingType
- A string containing a SingleDecodeType representation to convert.- Returns:
- An actual SingleDecodeType returns, when conversion has completed successfully;
otherwise it returns indefinite type. or SingleDecodeType (-1, "NONE").
-
-