Class DecodeType
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_FULL_ASCII, DecodeType.CODE_128); for(BarCodeResult result : reader.readBarCodes()) { System.out.println("BarCode Type: " + result.getCodeTypeName()); System.out.println("BarCode CodeText: " + result.getCodeText()); }
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.aspose.barcode.barcoderecognition.MultiDecodeTypeSpecifies that data will be checked with all available symbologiesstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>Australia Post</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>Australian Post Domestic eParcel Barcode</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>Aztec</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>CODABAR</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>CodablockF</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>CODE 11</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>CODE 128</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>SCode16K</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>Code32</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>Code 39</b>basic charset barcode specification: ISO/IEC 16388static final SingleDecodeTypeSpecifies that the data should be decoded with<b>Code 39</b>full ASCII charset barcode specification: ISO/IEC 16388static final SingleDecodeTypeSpecifies that the data should be decoded with<b>CODE 93</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>CompactPdf417</b>(Pdf417Truncated) barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>DataLogic 2 of 5</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>DataMatrix</b>barcode symbologystatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>GS1 DATABAR expanded</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>GS1 DATABAR expanded stacked</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>GS1 DATABAR limited</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>GS1 DATABAR omni-directional</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>GS1 DATABAR stacked</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>GS1 DATABAR stacked omni-directional</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>GS1 DATABAR truncated</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>DeutschePost Ident code</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>DeutschePost Leit code</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>DotCode</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>DotCode</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>EAN-13</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>EAN14</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>EAN-8</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>GS1 Aztec</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>GS1 CODE 128</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>GS1 Composite Bar</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>GS1DataMatrix</b>barcode symbologystatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>GS1 DotCode</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with GS1 Han Xin Code barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with MicroPdf417 barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>GS1 QR</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with Han Xin Code barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>HIBC LIC Aztec</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>HIBC PAS Aztec</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>HIBC LIC Code128</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>HIBC PAS Code128</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>HIBC LIC Code39</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>HIBC PAS Code39</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>HIBC LIC DataMatrix</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>HIBC PAS DataMatrix</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>HIBC LIC QR</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>HIBC PAS QR</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>IATA 2 of 5</b>barcode specification.static final SingleDecodeTypeSpecifies that the data should be decoded with<b>INTERLEAVED 2 of 5</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>ISBN</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>ISMN</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>ISSN</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>Italian Post 25</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>ITF14</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>ITF6</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>MacroPdf417</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with Royal Mail Mailmark barcode specification.static final SingleDecodeTypeSpecifies that the data should be decoded with<b>Matrix 2 of 5</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>MaxiCode</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>MICR E-13B</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>MicroPdf417</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>MicroQR Code</b>barcode specificationstatic final com.aspose.barcode.barcoderecognition.MultiDecodeTypeSpecifies that data will be checked with most commonly used symbologiesstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>MSI Plessey</b>barcode specificationstatic final SingleDecodeTypeUnspecified decode type.static final SingleDecodeTypeSpecifies that the data should be decoded with USPS<b>OneCode</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>OPC</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>Patch code</b>barcode specification.static final SingleDecodeTypeSpecifies that the data should be decoded with<b>Pdf417</b>barcode symbologystatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>Pharmacode</b>barcode.static final SingleDecodeTypeSpecifies that the data should be decoded with<b>Planet</b>barcode specificationstatic final com.aspose.barcode.barcoderecognition.MultiDecodeTypeSpecifies that data will be checked with all of 1.5D POSTAL barcode symbologies, like Planet, Postnet, AustraliaPost, OneCode, RM4SCC, DutchKIXstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>Postnet</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>PZN</b>barcode specification.static final SingleDecodeTypeSpecifies that the data should be decoded with<b>QR Code</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with RectMicroQR (rMQR) Code barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>RM4SCC</b>barcode specification.static final SingleDecodeTypeSpecifies that the data should be decoded with<b>SCC14</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>SSCC18</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>Standard 2 of 5</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>Supplement(EAN2, EAN5)</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>Swiss Post Parcel Barcode</b>barcode specificationstatic final com.aspose.barcode.barcoderecognition.MultiDecodeTypeSpecifies that data will be checked with all of 1D barcode symbologiesstatic final com.aspose.barcode.barcoderecognition.MultiDecodeTypeSpecifies that data will be checked with all of 2D barcode symbologiesstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>UPC-A</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>UPC-E</b>barcode specificationstatic final SingleDecodeTypeSpecifies that the data should be decoded with<b>VIN</b>(Vehicle Identification Number) barcode specification -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SingleDecodeType[]Gets an array that represents AllSupportedTypesstatic String[]getNames()Retrieves an array of the names of the decode types.static booleanis1D(BaseDecodeType symbology) Determines if the specified BaseDecodeType contains any 1D barcode symbologystatic booleanis2D(BaseDecodeType symbology) Determines if the specified BaseDecodeType contains any 2D barcode symbologystatic booleanisPostal(BaseDecodeType symbology) Determines if the specified BaseDecodeType contains any Postal barcode symbologystatic SingleDecodeTypeConverts the string representation of a SingleDecodeType to its instance.static booleanparse(String parsingType, SingleDecodeType[] result) Converts the string representation of a SingleDecodeType to its instance.static BaseDecodeTypescanSets(BaseDecodeType... barcodeTypes) Specify scan sets by barcodeTypesstatic com.aspose.barcode.barcoderecognition.MultiDecodeTypetryParseMultiDecodeType(String parsingType) Converts the string representation of a MultiDecodeType to its instance.static SingleDecodeTypetryParseSingleDecodeType(String parsingType) Converts the string representation of a SingleDecodeType to its instance.
-
Field Details
-
NONE
Unspecified decode type.
-
CODABAR
Specifies that the data should be decoded with
<b>CODABAR</b>barcode specification -
CODE_11
Specifies that the data should be decoded with
<b>CODE 11</b>barcode specification -
CODE_39
Specifies that the data should be decoded with
<b>Code 39</b>basic charset barcode specification: ISO/IEC 16388 -
CODE_39_FULL_ASCII
Specifies that the data should be decoded with
<b>Code 39</b>full ASCII charset barcode specification: ISO/IEC 16388 -
CODE_93
Specifies that the data should be decoded with
<b>CODE 93</b>barcode specification -
CODE_128
Specifies that the data should be decoded with
<b>CODE 128</b>barcode specification -
GS_1_CODE_128
Specifies that the data should be decoded with
<b>GS1 CODE 128</b>barcode specification -
EAN_8
Specifies that the data should be decoded with
<b>EAN-8</b>barcode specification -
EAN_13
Specifies that the data should be decoded with
<b>EAN-13</b>barcode specification -
EAN_14
Specifies that the data should be decoded with
<b>EAN14</b>barcode specification -
SCC_14
Specifies that the data should be decoded with
<b>SCC14</b>barcode specification -
SSCC_18
Specifies that the data should be decoded with
<b>SSCC18</b>barcode specification -
UPCA
Specifies that the data should be decoded with
<b>UPC-A</b>barcode specification -
UPCE
Specifies that the data should be decoded with
<b>UPC-E</b>barcode specification -
ISBN
Specifies that the data should be decoded with
<b>ISBN</b>barcode specification -
STANDARD_2_OF_5
Specifies that the data should be decoded with
<b>Standard 2 of 5</b>barcode specification -
INTERLEAVED_2_OF_5
Specifies that the data should be decoded with
<b>INTERLEAVED 2 of 5</b>barcode specification -
MATRIX_2_OF_5
Specifies that the data should be decoded with
<b>Matrix 2 of 5</b>barcode specification -
ITALIAN_POST_25
Specifies that the data should be decoded with
<b>Italian Post 25</b>barcode specification -
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
Specifies that the data should be decoded with
<b>ITF14</b>barcode specification -
ITF_6
Specifies that the data should be decoded with
<b>ITF6</b>barcode specification -
MSI
Specifies that the data should be decoded with
<b>MSI Plessey</b>barcode specification -
VIN
Specifies that the data should be decoded with
<b>VIN</b>(Vehicle Identification Number) barcode specification -
DEUTSCHE_POST_IDENTCODE
Specifies that the data should be decoded with
<b>DeutschePost Ident code</b>barcode specification -
DEUTSCHE_POST_LEITCODE
Specifies that the data should be decoded with
<b>DeutschePost Leit code</b>barcode specification -
OPC
Specifies that the data should be decoded with
<b>OPC</b>barcode specification -
PZN
Specifies that the data should be decoded with
<b>PZN</b>barcode specification. This symbology is also known as Pharma Zentral Nummer. PZN7 and PZN8 are supported. -
PHARMACODE
Specifies that the data should be decoded with
<b>Pharmacode</b>barcode. This symbology is also known as Pharmaceutical BINARY Code -
DATA_MATRIX
Specifies that the data should be decoded with
<b>DataMatrix</b>barcode symbology -
GS_1_DATA_MATRIX
Specifies that the data should be decoded with
<b>GS1DataMatrix</b>barcode symbology -
QR
Specifies that the data should be decoded with
<b>QR Code</b>barcode specification -
AZTEC
Specifies that the data should be decoded with
<b>Aztec</b>barcode specification -
GS_1_AZTEC
Specifies that the data should be decoded with
<b>GS1 Aztec</b>barcode specification -
PDF_417
Specifies that the data should be decoded with
<b>Pdf417</b>barcode symbology -
MACRO_PDF_417
Specifies that the data should be decoded with
<b>MacroPdf417</b>barcode specification -
MICRO_PDF_417
Specifies that the data should be decoded with
<b>MicroPdf417</b>barcode specification -
GS_1_MICRO_PDF_417
Specifies that the data should be decoded with MicroPdf417 barcode specification -
CODABLOCK_F
Specifies that the data should be decoded with
<b>CodablockF</b>barcode specification -
AUSTRALIA_POST
Specifies that the data should be decoded with
<b>Australia Post</b>barcode specification -
POSTNET
Specifies that the data should be decoded with
<b>Postnet</b>barcode specification -
PLANET
Specifies that the data should be decoded with
<b>Planet</b>barcode specification -
ONE_CODE
Specifies that the data should be decoded with USPS
<b>OneCode</b>barcode specification -
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
Specifies that the data should be decoded with Royal Mail Mailmark barcode specification. -
DATABAR_OMNI_DIRECTIONAL
Specifies that the data should be decoded with
<b>GS1 DATABAR omni-directional</b>barcode specification -
DATABAR_TRUNCATED
Specifies that the data should be decoded with
<b>GS1 DATABAR truncated</b>barcode specification -
DATABAR_LIMITED
Specifies that the data should be decoded with
<b>GS1 DATABAR limited</b>barcode specification -
DATABAR_EXPANDED
Specifies that the data should be decoded with
<b>GS1 DATABAR expanded</b>barcode specification -
DATABAR_STACKED_OMNI_DIRECTIONAL
Specifies that the data should be decoded with
<b>GS1 DATABAR stacked omni-directional</b>barcode specification -
DATABAR_STACKED
Specifies that the data should be decoded with
<b>GS1 DATABAR stacked</b>barcode specification -
DATABAR_EXPANDED_STACKED
Specifies that the data should be decoded with
<b>GS1 DATABAR expanded stacked</b>barcode specification -
PATCH_CODE
Specifies that the data should be decoded with
<b>Patch code</b>barcode specification. Barcode symbology is used for automated scanning -
ISSN
Specifies that the data should be decoded with
<b>ISSN</b>barcode specification -
ISMN
Specifies that the data should be decoded with
<b>ISMN</b>barcode specification -
SUPPLEMENT
Specifies that the data should be decoded with
<b>Supplement(EAN2, EAN5)</b>barcode specification -
AUSTRALIAN_POSTE_PARCEL
Specifies that the data should be decoded with
<b>Australian Post Domestic eParcel Barcode</b>barcode specification -
SWISS_POST_PARCEL
Specifies that the data should be decoded with
<b>Swiss Post Parcel Barcode</b>barcode specification -
CODE_16_K
Specifies that the data should be decoded with
<b>SCode16K</b>barcode specification -
MICRO_QR
Specifies that the data should be decoded with
<b>MicroQR Code</b>barcode specification -
COMPACT_PDF_417
Specifies that the data should be decoded with
<b>CompactPdf417</b>(Pdf417Truncated) barcode specification -
GS_1_QR
Specifies that the data should be decoded with
<b>GS1 QR</b>barcode specification -
MAXI_CODE
Specifies that the data should be decoded with
<b>MaxiCode</b>barcode specification -
MICR_E_13_B
Specifies that the data should be decoded with
<b>MICR E-13B</b>barcode specification -
CODE_32
Specifies that the data should be decoded with
<b>Code32</b>barcode specification -
DATA_LOGIC_2_OF_5
Specifies that the data should be decoded with
<b>DataLogic 2 of 5</b>barcode specification -
DOT_CODE
Specifies that the data should be decoded with
<b>DotCode</b>barcode specification -
GS_1_DOT_CODE
Specifies that the data should be decoded with
<b>GS1 DotCode</b>barcode specification -
DUTCH_KIX
Specifies that the data should be decoded with
<b>DotCode</b>barcode specification -
HIBC_CODE_39_LIC
Specifies that the data should be decoded with
<b>HIBC LIC Code39</b>barcode specification -
HIBC_CODE_128_LIC
Specifies that the data should be decoded with
<b>HIBC LIC Code128</b>barcode specification -
HIBC_AZTEC_LIC
Specifies that the data should be decoded with
<b>HIBC LIC Aztec</b>barcode specification -
HIBC_DATA_MATRIX_LIC
Specifies that the data should be decoded with
<b>HIBC LIC DataMatrix</b>barcode specification -
HIBCQRLIC
Specifies that the data should be decoded with
<b>HIBC LIC QR</b>barcode specification -
HIBC_CODE_39_PAS
Specifies that the data should be decoded with
<b>HIBC PAS Code39</b>barcode specification -
HIBC_CODE_128_PAS
Specifies that the data should be decoded with
<b>HIBC PAS Code128</b>barcode specification -
HIBC_AZTEC_PAS
Specifies that the data should be decoded with
<b>HIBC PAS Aztec</b>barcode specification -
HIBC_DATA_MATRIX_PAS
Specifies that the data should be decoded with
<b>HIBC PAS DataMatrix</b>barcode specification -
HIBCQRPAS
Specifies that the data should be decoded with
<b>HIBC PAS QR</b>barcode specification -
HAN_XIN
Specifies that the data should be decoded with Han Xin Code barcode specification -
GS_1_HAN_XIN
Specifies that the data should be decoded with GS1 Han Xin Code barcode specification -
GS_1_COMPOSITE_BAR
Specifies that the data should be decoded with
<b>GS1 Composite Bar</b>barcode specification -
RECT_MICRO_QR
Specifies that the data should be decoded with RectMicroQR (rMQR) Code barcode specification -
ALL_SUPPORTED_TYPES
public static final com.aspose.barcode.barcoderecognition.MultiDecodeType ALL_SUPPORTED_TYPESSpecifies that data will be checked with all available symbologies
-
TYPES_1D
public static final com.aspose.barcode.barcoderecognition.MultiDecodeType TYPES_1DSpecifies that data will be checked with all of 1D barcode symbologies -
TYPES_2D
public static final com.aspose.barcode.barcoderecognition.MultiDecodeType TYPES_2DSpecifies that data will be checked with all of 2D barcode symbologies -
POSTAL_TYPES
public static final com.aspose.barcode.barcoderecognition.MultiDecodeType POSTAL_TYPESSpecifies 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 com.aspose.barcode.barcoderecognition.MultiDecodeType MOST_COMMON_TYPESSpecifies that data will be checked with most commonly used symbologies
-
-
Constructor Details
-
DecodeType
public DecodeType()
-
-
Method Details
-
getNames
Retrieves an array of the names of the decode types.
- Returns:
- A string array of the names of the decode types.
-
tryParseSingleDecodeType
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 in the format as "EAN8" or "EAN13" or "CodaBar"... to convert.- Returns:
- An actual SingleDecodeType returns, when conversion has completed successfully; otherwise it returns indefinite type: DecodeType.None.
-
tryParseMultiDecodeType
public static com.aspose.barcode.barcoderecognition.MultiDecodeType tryParseMultiDecodeType(String parsingType) Converts the string representation of a MultiDecodeType 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 MultiDecodeType is returned, when conversion has completed successfully; otherwise it returns indefinite type: new MultiDecodeType(DecodeType.None)
-
is1D
Determines if the specified BaseDecodeType contains any 1D barcode symbology- Parameters:
symbology- The BaseDecodeType to test.- Returns:
- Returns true if BaseDecodeType contains any 1D barcode symbology; otherwise, returns false.
-
isPostal
Determines if the specified BaseDecodeType contains any Postal barcode symbology- Parameters:
symbology- The BaseDecodeType to test- Returns:
- Returns true if BaseDecodeType contains any Postal barcode symbology; otherwise, returns false.
-
is2D
Determines if the specified BaseDecodeType contains any 2D barcode symbology- Parameters:
symbology- The BaseDecodeType to test.- Returns:
- Returns true if BaseDecodeTypeddddddddw contains any 2D barcode symbology; otherwise, returns false.
-
getAllSupportedTypesArray
Gets an array that represents AllSupportedTypes
-
scanSets
Specify scan sets by barcodeTypes
- Parameters:
barcodeTypes- Array of single and multy decode types- Returns:
- A multi decode type
-
parse
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").
-
parse
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 in the format as "EAN8" or "EAN13" or "CodaBar"... to convert.- Returns:
- true if s was converted successfully; otherwise, false.
-