Class EncodeTypes

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

public class EncodeTypes extends Object

Specifies the type of barcode to encode.

  • Field Details

    • NONE

      public static final SymbologyEncodeType NONE

      Unspecified encode type.

    • 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

      public static final SymbologyEncodeType CODE_39

      Specifies that the data should be encoded with <b>Code 39</b> basic charset barcode specification: ISO/IEC 16388

    • CODE_39_FULL_ASCII

      public static final SymbologyEncodeType CODE_39_FULL_ASCII

      Specifies that the data should be encoded with <b>Code 39</b> full ASCII charset barcode specification: ISO/IEC 16388

    • CODE_93

      public static final SymbologyEncodeType CODE_93

      Specifies that the data should be encoded with <b>CODE 93</b> 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

    • ITF_6

      public static final SymbologyEncodeType ITF_6

      Represents ITF-6 Barcode.

    • 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 Symbology is also known as Pharmacy central number, Pharmazentralnummer. PZN7 and PZN8 are supported. PZN7 is generated from 6 or less digits, like "123456". PZN8 is generated from 7 or more digits, like "1234567". Provided last checksum digit is ignored and generated by the barcode engine.

    • CODE_16_K

      public static final SymbologyEncodeType CODE_16_K

      Represents Code 16K barcode.

    • 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

    • GS_1_AZTEC

      public static final SymbologyEncodeType GS_1_AZTEC

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

    • 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_MICRO_PDF_417

      public static final SymbologyEncodeType GS_1_MICRO_PDF_417
      Specifies that the data should be encoded with GS1MicroPdf417 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

    • HAN_XIN

      public static final SymbologyEncodeType HAN_XIN
      Specifies that the data should be encoded with Han Xin barcode specification
    • GS_1_HAN_XIN

      public static final SymbologyEncodeType GS_1_HAN_XIN
      2D barcode symbology HabXin with GS1 string format
    • MICRO_QR

      public static final SymbologyEncodeType MICRO_QR
      Specifies that the data should be encoded with MicroQR Code barcode specification
    • RECT_MICRO_QR

      public static final SymbologyEncodeType RECT_MICRO_QR
      Specifies that the data should be encoded with RectMicroQR (rMQR) Code 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.

    • MAILMARK

      public static final SymbologyEncodeType MAILMARK
      Represents Royal Mail Mailmark barcode.
    • 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)

    • PATCH_CODE

      public static final SymbologyEncodeType PATCH_CODE

      Represents Patch code barcode

    • 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: BarcodeGenerator.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: BarcodeGenerator.setCodeText("514141100906(8110)106141416543213500110000310123196000"), where UPCA part is "514141100906", DATABAR part is "(8110)106141416543213500110000310123196000". To change the caption, use Parameters.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.

    • GS_1_COMPOSITE_BAR

      public static final SymbologyEncodeType GS_1_COMPOSITE_BAR
      Specifies that the data should be encoded with GS1 Composite Bar barcode specification. The codetext must contains parentheses for AI. 1D codetext and 2D codetext must be separated with symbol '/'
    • HIBC_CODE_39_LIC

      public static final SymbologyEncodeType HIBC_CODE_39_LIC

      Specifies that the data should be encoded with <b>HIBC LIC Code39</b> barcode specification.

    • HIBC_CODE_128_LIC

      public static final SymbologyEncodeType HIBC_CODE_128_LIC

      Specifies that the data should be encoded with <b>HIBC LIC Code128</b> barcode specification.

    • HIBC_AZTEC_LIC

      public static final SymbologyEncodeType HIBC_AZTEC_LIC

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

    • HIBC_DATA_MATRIX_LIC

      public static final SymbologyEncodeType HIBC_DATA_MATRIX_LIC

      Specifies that the data should be encoded with <b>HIBC LIC DataMatrix</b> barcode specification.

    • HIBCQRLIC

      public static final SymbologyEncodeType HIBCQRLIC

      Specifies that the data should be encoded with <b>HIBC LIC QR</b> barcode specification.

    • HIBC_CODE_39_PAS

      public static final SymbologyEncodeType HIBC_CODE_39_PAS

      Specifies that the data should be encoded with <b>HIBC PAS Code39</b> barcode specification.

    • HIBC_CODE_128_PAS

      public static final SymbologyEncodeType HIBC_CODE_128_PAS

      Specifies that the data should be encoded with <b>HIBC PAS Code128</b> barcode specification.

    • HIBC_AZTEC_PAS

      public static final SymbologyEncodeType HIBC_AZTEC_PAS

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

    • HIBC_DATA_MATRIX_PAS

      public static final SymbologyEncodeType HIBC_DATA_MATRIX_PAS

      Specifies that the data should be encoded with <b>HIBC PAS DataMatrix</b> barcode specification.

    • HIBCQRPAS

      public static final SymbologyEncodeType HIBCQRPAS

      Specifies that the data should be encoded with <b>HIBC PAS QR</b> barcode specification.

    • GS_1_DOT_CODE

      public static final SymbologyEncodeType GS_1_DOT_CODE

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

  • Constructor Details

    • EncodeTypes

      public EncodeTypes()
  • Method Details

    • 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:
      True if s was converted successfully; otherwise, false.
    • 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:
      True if s was converted successfully; otherwise, false.
    • is2D

      public static boolean is2D(BaseEncodeType symbology)