com.aspose.barcode.barcoderecognition

Class BarCodeReadType



  • public final class BarCodeReadType
    extends Object

    Specify the type of barcode to read.


     Detect an code39 and Code128 barcode
     
     BarCodeReader reader;
     BarCodeReader reader;
     reader = new BarCodeReader("c:\\test.jpg", BarCodeReadType.Code39Standard | BarCodeReadType.Code128);
     while(reader.read())
     {
         System.out.println("BarCode Type: "+ reader.getReadType());
         System.out.println("BarCode CodeText: " + reader.getCodeText());
     }
     reader.close();
     

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static long AllSupportedTypes
      Specifies that data will be checked with all available symbologies
      static long AustralianPosteParcel
      Specifies that the data should be encoded with Australian Post Domestic eParcel Barcode barcode specification
      static long AustraliaPost
      Represents Australia Post Customer BarCode
      static long Aztec
      Specifies that the data should be encoded with Aztec barcode specification
      static long Codabar
      Specifies that the data should be encoded with CODABAR barcode specification
      static long Code11
      Specifies that the data should be encoded with CODE 11 barcode specification
      static long Code128
      Specifies that the data should be encoded with CODE 128 barcode specification
      static long Code16K
      Specifies that the data should be encoded with Swiss Post Parcel Barcode barcode specification.
      static long Code32
      Specifies that the data should be encoded with <b>Code32</b> blank specification
      static long Code39Extended
      Specifies that the data should be encoded with Extended CODE 39 barcode specification
      static long Code39Standard
      Specifies that the data should be encoded with Standard CODE 39 barcode specification
      static long Code93Extended
      Specifies that the data should be encoded with Extended CODE 93 barcode specification
      static long Code93Standard
      Specifies that the data should be encoded with Standard CODE 93 barcode specification
      static long CompactPdf417
      Specifies that the data should be encoded with <b>CompactPdf417</b> (Pdf417Truncated) barcode specification
      static long DatabarExpanded
      Represents Databar expanded barcode, supports recognition only.
      static long DatabarExpandedStacked
      Represents Databar expanded stacked barcode
      static long DatabarLimited
      Represents Databar limited barcode, supports recognition only.
      static long DatabarOmniDirectional
      Represents Databar omni-directional barcode
      static long DatabarStacked
      Represents Databar stacked barcode
      static long DatabarStackedOmniDirectional
      Represents Databar stacked omni-directional barcode
      static long DatabarTruncated
      Represents Databar truncated barcode
      static long DataMatrix
      2D barcode symbology DataMatrix
      static long DeutschePostIdentcode
      Specifies that the data should be encoded with DeutschePost Ident code barcode specification
      static long DeutschePostLeitcode
      Specifies that the data should be encoded with DeutschePost Leit code barcode specification
      static long EAN13
      Specifies that the data should be encoded with EAN-13 barcode specification
      static long EAN14
      Specifies that the data should be encoded with EAN14 barcode specification
      static long EAN8
      Specifies that the data should be encoded with EAN-8 barcode specification
      static long GS1Code128
      Specifies that the data should be encoded with GS1 CODE 128 barcode specification
      static long GS1DataMatrix
      2D barcode symbology GS1DataMatrix
      static long GS1QR
      Specifies that the data should be encoded with <b>GS1 QR</b> barcode specification
      static long IATA2of5
      Represents IATA 2 of 5 barcode.IATA (International Air Transport Assosiation) uses this barcode for the management of air cargo.
      static long Interleaved2of5
      Specifies that the data should be encoded with INTERLEAVED 2 of 5 barcode specification
      static long ISBN
      Specifies that the data should be encoded with ISBN barcode specification
      static long ISMN
      Specifies that the data should be encoded with ISMN barcode specification
      static long ISSN
      Specifies that the data should be encoded with ISSN barcode specification
      static long ItalianPost25
      Represents Italian Post 25 barcode.
      static long ITF14
      Specifies that the data should be encoded with ITF14 barcode specification
      static long ITF6
      Specifies that the data should be encoded with ITF6 barcode specification
      static long MacroPdf417
      Specifies that the data should be encoded with MacroPdf417 barcode specification
      static long Matrix2of5
      Specifies that the data should be encoded with Matrix 2 of 5 barcode specification
      static long MaxiCode
      Specifies that the data should be encoded with <b>MaxiCode</b> barcode specification
      static long MicrE13B
      Specifies that the data should be encoded with <b>MICR E-13B</b> blank specification
      static long MicroPdf417
      Specifies that the data should be encoded with MicroPdf417 barcode specification
      static long MicroQR
      Specifies that the data should be encoded with <b>MicroQR Code</b> barcode specification
      static long MSI
      Specifies that the data should be encoded with MSI Plessey barcode specification
      static long OneCode
      Specifies that the data should be encoded with USPS OneCode barcode specification
      static long OPC
      Specifies that the data should be encoded with OPC barcode specification
      static long PatchCode
      Represents Patch code barcode(T barcode), supports recognition only.
      static long Pdf417
      2D barcode symbology Pdf417
      static long Pharmacode
      Represents Pharmacode barcode.
      static long Planet
      Specifies that the data should be encoded with Planet barcode specification
      static long Postnet
      Specifies that the data should be encoded with Postnet barcode specification
      static long PZN
      Represents PZN barcode.This Symbology is also known as Pharma Zentral Nummer,Pharmazentralnummer
      static long QR
      Specifies that the data should be encoded with QR Code barcode specification
      static long RM4SCC
      Represents RM4SCC barcode.
      static long SCC14
      Specifies that the data should be encoded with SCC14 barcode specification
      static long SSCC18
      Specifies that the data should be encoded with SSCC18 barcode specification
      static long Standard2of5
      Specifies that the data should be encoded with Standard 2 of 5 barcode specification
      static long Supplement
      Specifies that the data should be encoded with Supplement barcode specification
      static long SwissPostParcel
      Specifies that the data should be encoded with Swiss Post Parcel Barcode barcode specification.
      static long UPCA
      Specifies that the data should be encoded with UPC-A barcode specification
      static long UPCE
      Specifies that the data should be encoded with UPC-E barcode specification
      static long VIN
      Represents VIN (Vehicle Identification Number) Barcode.
    • Field Detail

      • Codabar

        public static final long Codabar

        Specifies that the data should be encoded with CODABAR barcode specification

        See Also:
        Constant Field Values
      • Code11

        public static final long Code11

        Specifies that the data should be encoded with CODE 11 barcode specification

        See Also:
        Constant Field Values
      • Code39Standard

        public static final long Code39Standard

        Specifies that the data should be encoded with Standard CODE 39 barcode specification

        See Also:
        Constant Field Values
      • Code39Extended

        public static final long Code39Extended

        Specifies that the data should be encoded with Extended CODE 39 barcode specification

        See Also:
        Constant Field Values
      • Code93Standard

        public static final long Code93Standard

        Specifies that the data should be encoded with Standard CODE 93 barcode specification

        See Also:
        Constant Field Values
      • Code93Extended

        public static final long Code93Extended

        Specifies that the data should be encoded with Extended CODE 93 barcode specification

        See Also:
        Constant Field Values
      • Code128

        public static final long Code128

        Specifies that the data should be encoded with CODE 128 barcode specification

        See Also:
        Constant Field Values
      • GS1Code128

        public static final long GS1Code128

        Specifies that the data should be encoded with GS1 CODE 128 barcode specification

        See Also:
        Constant Field Values
      • EAN8

        public static final long EAN8

        Specifies that the data should be encoded with EAN-8 barcode specification

        See Also:
        Constant Field Values
      • EAN13

        public static final long EAN13

        Specifies that the data should be encoded with EAN-13 barcode specification

        See Also:
        Constant Field Values
      • EAN14

        public static final long EAN14

        Specifies that the data should be encoded with EAN14 barcode specification

        See Also:
        Constant Field Values
      • SCC14

        public static final long SCC14

        Specifies that the data should be encoded with SCC14 barcode specification

        See Also:
        Constant Field Values
      • SSCC18

        public static final long SSCC18

        Specifies that the data should be encoded with SSCC18 barcode specification

        See Also:
        Constant Field Values
      • UPCA

        public static final long UPCA

        Specifies that the data should be encoded with UPC-A barcode specification

        See Also:
        Constant Field Values
      • UPCE

        public static final long UPCE

        Specifies that the data should be encoded with UPC-E barcode specification

        See Also:
        Constant Field Values
      • ISBN

        public static final long ISBN

        Specifies that the data should be encoded with ISBN barcode specification

        See Also:
        Constant Field Values
      • Standard2of5

        public static final long Standard2of5

        Specifies that the data should be encoded with Standard 2 of 5 barcode specification

        See Also:
        Constant Field Values
      • Interleaved2of5

        public static final long Interleaved2of5

        Specifies that the data should be encoded with INTERLEAVED 2 of 5 barcode specification

        See Also:
        Constant Field Values
      • Matrix2of5

        public static final long Matrix2of5

        Specifies that the data should be encoded with Matrix 2 of 5 barcode specification

        See Also:
        Constant Field Values
      • ItalianPost25

        public static final long ItalianPost25

        Represents Italian Post 25 barcode.

        See Also:
        Constant Field Values
      • IATA2of5

        public static final long IATA2of5

        Represents IATA 2 of 5 barcode.IATA (International Air Transport Assosiation) uses this barcode for the management of air cargo.

        See Also:
        Constant Field Values
      • ITF14

        public static final long ITF14

        Specifies that the data should be encoded with ITF14 barcode specification

        See Also:
        Constant Field Values
      • ITF6

        public static final long ITF6

        Specifies that the data should be encoded with ITF6 barcode specification

        See Also:
        Constant Field Values
      • MSI

        public static final long MSI

        Specifies that the data should be encoded with MSI Plessey barcode specification

        See Also:
        Constant Field Values
      • VIN

        public static final long VIN

        Represents VIN (Vehicle Identification Number) Barcode.

        See Also:
        Constant Field Values
      • DeutschePostIdentcode

        public static final long DeutschePostIdentcode

        Specifies that the data should be encoded with DeutschePost Ident code barcode specification

        See Also:
        Constant Field Values
      • DeutschePostLeitcode

        public static final long DeutschePostLeitcode

        Specifies that the data should be encoded with DeutschePost Leit code barcode specification

        See Also:
        Constant Field Values
      • OPC

        public static final long OPC

        Specifies that the data should be encoded with OPC barcode specification

        See Also:
        Constant Field Values
      • PZN

        public static final long PZN

        Represents PZN barcode.This Symbology is also known as Pharma Zentral Nummer,Pharmazentralnummer

        See Also:
        Constant Field Values
      • Pharmacode

        public static final long Pharmacode

        Represents Pharmacode barcode. This Symbology is also known as Code32

        See Also:
        Constant Field Values
      • DataMatrix

        public static final long DataMatrix

        2D barcode symbology DataMatrix

        See Also:
        Constant Field Values
      • GS1DataMatrix

        public static final long GS1DataMatrix

        2D barcode symbology GS1DataMatrix

        See Also:
        Constant Field Values
      • QR

        public static final long QR

        Specifies that the data should be encoded with QR Code barcode specification

        See Also:
        Constant Field Values
      • Aztec

        public static final long Aztec

        Specifies that the data should be encoded with Aztec barcode specification

        See Also:
        Constant Field Values
      • MacroPdf417

        public static final long MacroPdf417

        Specifies that the data should be encoded with MacroPdf417 barcode specification

        See Also:
        Constant Field Values
      • MicroPdf417

        public static final long MicroPdf417

        Specifies that the data should be encoded with MicroPdf417 barcode specification

        See Also:
        Constant Field Values
      • AustraliaPost

        public static final long AustraliaPost

        Represents Australia Post Customer BarCode

        See Also:
        Constant Field Values
      • Postnet

        public static final long Postnet

        Specifies that the data should be encoded with Postnet barcode specification

        See Also:
        Constant Field Values
      • Planet

        public static final long Planet

        Specifies that the data should be encoded with Planet barcode specification

        See Also:
        Constant Field Values
      • OneCode

        public static final long OneCode

        Specifies that the data should be encoded with USPS OneCode barcode specification

        See Also:
        Constant Field Values
      • RM4SCC

        public static final long RM4SCC

        Represents RM4SCC barcode. RM4SCC (Royal Mail 4-state Customer Code) is used for automated mail sort process in UK.

        See Also:
        Constant Field Values
      • DatabarOmniDirectional

        public static final long DatabarOmniDirectional

        Represents Databar omni-directional barcode

        See Also:
        Constant Field Values
      • DatabarTruncated

        public static final long DatabarTruncated

        Represents Databar truncated barcode

        See Also:
        Constant Field Values
      • DatabarLimited

        public static final long DatabarLimited

        Represents Databar limited barcode, supports recognition only.

        See Also:
        Constant Field Values
      • DatabarExpanded

        public static final long DatabarExpanded

        Represents Databar expanded barcode, supports recognition only.

        See Also:
        Constant Field Values
      • DatabarStackedOmniDirectional

        public static final long DatabarStackedOmniDirectional

        Represents Databar stacked omni-directional barcode

      • DatabarStacked

        public static final long DatabarStacked

        Represents Databar stacked barcode

      • DatabarExpandedStacked

        public static final long DatabarExpandedStacked

        Represents Databar expanded stacked barcode

      • PatchCode

        public static final long PatchCode

        Represents Patch code barcode(T barcode), supports recognition only.

        See Also:
        Constant Field Values
      • ISSN

        public static final long ISSN

        Specifies that the data should be encoded with ISSN barcode specification

        See Also:
        Constant Field Values
      • ISMN

        public static final long ISMN

        Specifies that the data should be encoded with ISMN barcode specification

        See Also:
        Constant Field Values
      • Supplement

        public static final long Supplement

        Specifies that the data should be encoded with Supplement barcode specification

        See Also:
        Constant Field Values
      • AustralianPosteParcel

        public static final long AustralianPosteParcel

        Specifies that the data should be encoded with Australian Post Domestic eParcel Barcode barcode specification

        See Also:
        Constant Field Values
      • SwissPostParcel

        public static final long SwissPostParcel

        Specifies that the data should be encoded with Swiss Post Parcel Barcode barcode specification. Supported types: Domestic Mail, International Mail, Additional Services (new)

        See Also:
        Constant Field Values
      • Code16K

        public static final long Code16K

        Specifies that the data should be encoded with Swiss Post Parcel Barcode barcode specification. Supported types: Domestic Mail, International Mail, Additional Services (new)

        See Also:
        Constant Field Values
      • MicroQR

        public static final long MicroQR

        Specifies that the data should be encoded with <b>MicroQR Code</b> barcode specification

      • CompactPdf417

        public static final long CompactPdf417

        Specifies that the data should be encoded with <b>CompactPdf417</b> (Pdf417Truncated) barcode specification

      • GS1QR

        public static final long GS1QR

        Specifies that the data should be encoded with <b>GS1 QR</b> barcode specification

        See Also:
        Constant Field Values
      • MaxiCode

        public static final long MaxiCode

        Specifies that the data should be encoded with <b>MaxiCode</b> barcode specification

        See Also:
        Constant Field Values
      • MicrE13B

        public static final long MicrE13B

        Specifies that the data should be encoded with <b>MICR E-13B</b> blank specification

        See Also:
        Constant Field Values
      • Code32

        public static final long Code32

        Specifies that the data should be encoded with <b>Code32</b> blank specification

        See Also:
        Constant Field Values
      • AllSupportedTypes

        public static final long AllSupportedTypes

        Specifies that data will be checked with all available symbologies

    • Method Detail

      • getTypeFromName

        public static long getTypeFromName(String typeName)
        Parameters:
        typeName -
        Returns: