com.aspose.barcode

Class EncodeTypes

  • java.lang.Object
    • com.aspose.barcode.EncodeTypes


  • public class EncodeTypes
    extends java.lang.Object

    Specifies the type of barcode to encode.

    • Field Detail

      • CODABAR

        public static final SymbologyEncodeType CODABAR

        Specifies that the data should be encoded with CODABAR barcode specification

      • CODE_11

        public static final SymbologyEncodeType CODE_11

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

      • CODE_39_STANDARD

        public static final SymbologyEncodeType CODE_39_STANDARD

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

      • CODE_39_EXTENDED

        public static final SymbologyEncodeType CODE_39_EXTENDED

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

      • CODE_93_STANDARD

        public static final SymbologyEncodeType CODE_93_STANDARD

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

      • CODE_93_EXTENDED

        public static final SymbologyEncodeType CODE_93_EXTENDED

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

      • CODE_128

        public static final SymbologyEncodeType CODE_128

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

      • GS_1_CODE_128

        public static final SymbologyEncodeType GS_1_CODE_128

        Specifies that the data should be encoded with GS1 Code 128 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 EAN-8 barcode specification

      • EAN_13

        public static final SymbologyEncodeType EAN_13

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

      • EAN_14

        public static final SymbologyEncodeType EAN_14

        Specifies that the data should be encoded with EAN14 barcode specification

      • SCC_14

        public static final SymbologyEncodeType SCC_14

        Specifies that the data should be encoded with SCC14 barcode specification

      • SSCC_18

        public static final SymbologyEncodeType SSCC_18

        Specifies that the data should be encoded with SSCC18 barcode specification

      • UPCA

        public static final SymbologyEncodeType UPCA

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

      • UPCE

        public static final SymbologyEncodeType UPCE

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

      • ISBN

        public static final SymbologyEncodeType ISBN

        Specifies that the data should be encoded with isBN barcode specification

      • ISSN

        public static final SymbologyEncodeType ISSN

        Specifies that the data should be encoded with ISSN barcode specification

      • ISMN

        public static final SymbologyEncodeType ISMN

        Specifies that the data should be encoded with ISMN barcode specification

      • STANDARD_2_OF_5

        public static final SymbologyEncodeType STANDARD_2_OF_5

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

      • INTERLEAVED_2_OF_5

        public static final SymbologyEncodeType INTERLEAVED_2_OF_5

        Specifies that the data should be encoded with INTERLEAVED 2 of 5 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 ITF14 barcode specification

      • MSI

        public static final SymbologyEncodeType MSI

        Specifies that the data should be encoded with MSI Plessey 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 EncodeType 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 EncodeType 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 QR Code barcode specification

      • AZTEC

        public static final SymbologyEncodeType AZTEC

        Specifies that the data should be encoded with Aztec barcode specification

      • PDF_417

        public static final SymbologyEncodeType PDF_417

        Specifies that the data should be encoded with Pdf417 barcode specification

      • MACRO_PDF_417

        public static final SymbologyEncodeType MACRO_PDF_417

        Specifies that the data should be encoded with MacroPdf417 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 MicroPdf417 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 MaxiCode barcode specification

      • DOT_CODE

        public static final SymbologyEncodeType DOT_CODE

        Specifies that the data should be encoded with DotCode 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 Postnet barcode specification

      • PLANET

        public static final SymbologyEncodeType PLANET

        Specifies that the data should be encoded with Planet barcode specification

      • ONE_CODE

        public static final SymbologyEncodeType ONE_CODE

        Specifies that the data should be encoded with USPS OneCode 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 GS1 Databar omni-directional barcode specification.

      • DATABAR_TRUNCATED

        public static final SymbologyEncodeType DATABAR_TRUNCATED

        Specifies that the data should be encoded with GS1 Databar truncated 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 Singapore Post Barcode barcode specification

      • AUSTRALIAN_POSTE_PARCEL

        public static final SymbologyEncodeType AUSTRALIAN_POSTE_PARCEL

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

      • SWISS_POST_PARCEL

        public static final SymbologyEncodeType SWISS_POST_PARCEL

        Specifies that the data should be encoded with Swiss Post Parcel Barcode 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 Code32 barcode specification

      • DATA_LOGIC_2_OF_5

        public static final SymbologyEncodeType DATA_LOGIC_2_OF_5

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

      • DUTCH_KIX

        public static final SymbologyEncodeType DUTCH_KIX

        Specifies that the data should be encoded with Dutch KIX 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 UPC coupon with GS1-128 Extended Code 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 UPC coupon with GS1 DataBar addition 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 Codablock-F barcode specification.

      • GS_1_CODABLOCK_F

        public static final SymbologyEncodeType GS_1_CODABLOCK_F

        Specifies that the data should be encoded with GS1 Codablock-F 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 java.lang.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(java.lang.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:
        True if s was converted successfully; otherwise, false.
      • tryParse

        public static boolean tryParse(java.lang.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:
        True if s was converted successfully; otherwise, false.