com.aspose.barcode

Class EncodeTypes



  • public class EncodeTypes
    extends Object

    Specifies the type of barcode to encode.

    • Field Detail

      • CODABAR

        public static final SymbologyEncodeType CODABAR

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

      • CODE_11

        public static final SymbologyEncodeType CODE_11

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

      • CODE_39_STANDARD

        public static final SymbologyEncodeType CODE_39_STANDARD

        Specifies that the data should be encoded with <b>Standard CODE 39</b> barcode specification

      • CODE_39_EXTENDED

        public static final SymbologyEncodeType CODE_39_EXTENDED

        Specifies that the data should be encoded with <b>Extended CODE 39</b> barcode specification

      • CODE_93_STANDARD

        public static final SymbologyEncodeType CODE_93_STANDARD

        Specifies that the data should be encoded with <b>Standard CODE 93</b> barcode specification

      • CODE_93_EXTENDED

        public static final SymbologyEncodeType CODE_93_EXTENDED

        Specifies that the data should be encoded with <b>Extended CODE 93</b> barcode specification

      • CODE_128

        public static final SymbologyEncodeType CODE_128

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

      • GS_1_CODE_128

        public static final SymbologyEncodeType GS_1_CODE_128

        Specifies that the data should be encoded with <b>GS1 Code 128</b> barcode specification. The codetext must contains parentheses for AI.

      • EAN_8

        public static final SymbologyEncodeType EAN_8

        Specifies that the data should be encoded with <b>EAN-8</b> barcode specification

      • EAN_13

        public static final SymbologyEncodeType EAN_13

        Specifies that the data should be encoded with <b>EAN-13</b> barcode specification

      • EAN_14

        public static final SymbologyEncodeType EAN_14

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

      • SCC_14

        public static final SymbologyEncodeType SCC_14

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

      • SSCC_18

        public static final SymbologyEncodeType SSCC_18

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

      • UPCA

        public static final SymbologyEncodeType UPCA

        Specifies that the data should be encoded with <b>UPC-A</b> barcode specification

      • UPCE

        public static final SymbologyEncodeType UPCE

        Specifies that the data should be encoded with <b>UPC-E</b> barcode specification

      • ISBN

        public static final SymbologyEncodeType ISBN

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

      • ISSN

        public static final SymbologyEncodeType ISSN

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

      • ISMN

        public static final SymbologyEncodeType ISMN

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

      • STANDARD_2_OF_5

        public static final SymbologyEncodeType STANDARD_2_OF_5

        Specifies that the data should be encoded with <b>Standard 2 of 5</b> barcode specification

      • INTERLEAVED_2_OF_5

        public static final SymbologyEncodeType INTERLEAVED_2_OF_5

        Specifies that the data should be encoded with <b>INTERLEAVED 2 of 5</b> barcode specification

      • MATRIX_2_OF_5

        public static final SymbologyEncodeType MATRIX_2_OF_5

        Represents Matrix 2 of 5 BarCode

      • ITALIAN_POST_25

        public static final SymbologyEncodeType ITALIAN_POST_25

        Represents Italian Post 25 barcode.

      • IATA_2_OF_5

        public static final SymbologyEncodeType IATA_2_OF_5

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

      • ITF_14

        public static final SymbologyEncodeType ITF_14

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

      • MSI

        public static final SymbologyEncodeType MSI

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

      • VIN

        public static final SymbologyEncodeType VIN

        Represents VIN (Vehicle Identification Number) Barcode.

      • DEUTSCHE_POST_IDENTCODE

        public static final SymbologyEncodeType DEUTSCHE_POST_IDENTCODE

        Represents Deutsch Post barcode, This Symbology is also known as Identcode,CodeIdentcode,German Postal 2 of 5 Identcode, Deutsch Post AG Identcode, Deutsch Frachtpost Identcode, Deutsch Post AG (DHL)

      • DEUTSCHE_POST_LEITCODE

        public static final SymbologyEncodeType DEUTSCHE_POST_LEITCODE

        Represents Deutsch Post Leitcode Barcode,also known as German Postal 2 of 5 Leitcode, CodeLeitcode, Leitcode, Deutsch Post AG (DHL).

      • OPC

        public static final SymbologyEncodeType OPC

        Represents OPC(Optical Product Code) Barcode,also known as , VCA Barcode VCA OPC, Vision Council of America OPC Barcode.

      • PZN

        public static final SymbologyEncodeType PZN

        Represents PZN barcode.This Symbology is also known as Pharmacy central number, Pharmazentralnummer

      • PHARMACODE

        public static final SymbologyEncodeType PHARMACODE

        Represents Pharmacode barcode.

      • DATA_MATRIX

        public static final SymbologyEncodeType DATA_MATRIX

        2D barcode symbology DataMatrix

      • QR

        public static final SymbologyEncodeType QR

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

      • AZTEC

        public static final SymbologyEncodeType AZTEC

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

      • PDF_417

        public static final SymbologyEncodeType PDF_417

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

      • MACRO_PDF_417

        public static final SymbologyEncodeType MACRO_PDF_417

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

      • GS_1_DATA_MATRIX

        public static final SymbologyEncodeType GS_1_DATA_MATRIX

        2D barcode symbology DataMatrix with GS1 string format

      • MICRO_PDF_417

        public static final SymbologyEncodeType MICRO_PDF_417

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

      • GS_1_QR

        public static final SymbologyEncodeType GS_1_QR

        2D barcode symbology QR with GS1 string format

      • MAXI_CODE

        public static final SymbologyEncodeType MAXI_CODE

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

      • DOT_CODE

        public static final SymbologyEncodeType DOT_CODE

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

      • AUSTRALIA_POST

        public static final SymbologyEncodeType AUSTRALIA_POST

        Represents Australia Post Customer BarCode

      • POSTNET

        public static final SymbologyEncodeType POSTNET

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

      • PLANET

        public static final SymbologyEncodeType PLANET

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

      • ONE_CODE

        public static final SymbologyEncodeType ONE_CODE

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

      • RM_4_SCC

        public static final SymbologyEncodeType RM_4_SCC

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

      • DATABAR_OMNI_DIRECTIONAL

        public static final SymbologyEncodeType DATABAR_OMNI_DIRECTIONAL

        Specifies that the data should be encoded with <b>GS1 Databar omni-directional</b> barcode specification.

      • DATABAR_TRUNCATED

        public static final SymbologyEncodeType DATABAR_TRUNCATED

        Specifies that the data should be encoded with <b>GS1 Databar truncated</b> barcode specification.

      • DATABAR_LIMITED

        public static final SymbologyEncodeType DATABAR_LIMITED

        Represents GS1 Databar limited barcode.

      • DATABAR_EXPANDED

        public static final SymbologyEncodeType DATABAR_EXPANDED

        Represents GS1 Databar expanded barcode.

      • DATABAR_EXPANDED_STACKED

        public static final SymbologyEncodeType DATABAR_EXPANDED_STACKED

        Represents GS1 Databar expanded stacked barcode.

      • DATABAR_STACKED

        public static final SymbologyEncodeType DATABAR_STACKED

        Represents GS1 Databar stacked barcode.

      • DATABAR_STACKED_OMNI_DIRECTIONAL

        public static final SymbologyEncodeType DATABAR_STACKED_OMNI_DIRECTIONAL

        Represents GS1 Databar stacked omni-directional barcode.

      • SINGAPORE_POST

        public static final SymbologyEncodeType SINGAPORE_POST

        Specifies that the data should be encoded with <b>Singapore Post Barcode</b> barcode specification

      • AUSTRALIAN_POSTE_PARCEL

        public static final SymbologyEncodeType AUSTRALIAN_POSTE_PARCEL

        Specifies that the data should be encoded with <b>Australian Post Domestic eParcel Barcode</b> barcode specification

      • SWISS_POST_PARCEL

        public static final SymbologyEncodeType SWISS_POST_PARCEL

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

      • CODE_32

        public static final SymbologyEncodeType CODE_32

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

      • DATA_LOGIC_2_OF_5

        public static final SymbologyEncodeType DATA_LOGIC_2_OF_5

        Specifies that the data should be encoded with <b>DataLogic 2 of 5</b> barcode specification

      • DUTCH_KIX

        public static final SymbologyEncodeType DUTCH_KIX

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

      • UPCA_GS_1_CODE_128_COUPON

        public static final SymbologyEncodeType UPCA_GS_1_CODE_128_COUPON

        Specifies that the data should be encoded with <b>UPC coupon with GS1-128 Extended Code</b> barcode specification. An example of the input string: BarCodeBuilder.Codetext = "514141100906(8102)03", where UPCA part is "514141100906", GS1Code128 part is (8102)03.

      • UPCA_GS_1_DATABAR_COUPON

        public static final SymbologyEncodeType UPCA_GS_1_DATABAR_COUPON

        Specifies that the data should be encoded with <b>UPC coupon with GS1 DataBar addition</b> barcode specification. An example of the input string: BarCodeBuilder.Codetext = "514141100906(8110)106141416543213500110000310123196000", where UPCA part is "514141100906", Databar part is "(8110)106141416543213500110000310123196000". To change the caption, use barCodeBuilder.CaptionAbove.Text = "company prefix + offer code";

      • CODABLOCK_F

        public static final SymbologyEncodeType CODABLOCK_F

        Specifies that the data should be encoded with <b>Codablock-F</b> barcode specification.

      • GS_1_CODABLOCK_F

        public static final SymbologyEncodeType GS_1_CODABLOCK_F

        Specifies that the data should be encoded with <b>GS1 Codablock-F</b> barcode specification. The codetext must contains parentheses for AI.

    • Constructor Detail

      • EncodeTypes

        public EncodeTypes()
    • Method Detail

      • getAllEncodeTypes

        public static BaseEncodeType[] getAllEncodeTypes()

        Specifies that data will be checked with all available symbologies.

      • getNames

        public static String[] getNames()

        Retrieves an array of the names of the encode types.

        Returns:
        A string array of the names of the encode types.
      • parse

        public static boolean parse(String parsingType,
                    BaseEncodeType[] result)

        Converts the string representation of a BaseEncodeType to its instance. A return value indicates whether the conversion succeeded or failed.

        Parameters:
        parsingType - A string containing a BaseEncodeType representation to convert.
        result - An actual BaseEncodeType returns, when conversion has completed successfully;

        otherwise it returns null.

        Returns:
        <b>true</b> if s was converted successfully; otherwise, <b>false</b>.
      • tryParse

        public static boolean tryParse(String parsingType,
                       BaseEncodeType[] result)

        Converts the string representation of a BaseEncodeType 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.
        result - An actual SingleEncodeType returns, when conversion has completed successfully;

        otherwise it returns null.

        Returns:
        <b>true</b> if s was converted successfully; otherwise, <b>false</b>.