Class EncodeTypes
Specifies the type of barcode to encode.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SymbologyEncodeTypeRepresents Australia Post Customer BarCodestatic final SymbologyEncodeTypeSpecifies that the data should be encoded with Australian Post Domestic eParcel Barcode barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with Aztec barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with CODABAR barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with Codablock-F barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with CODE 11 barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with CODE 128 barcode specificationstatic final SymbologyEncodeTypeRepresents Code 16K barcode.static final SymbologyEncodeTypeSpecifies that the data should be encoded with Code32 barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with<b>Code 39</b>basic charset barcode specification: ISO/IEC 16388static final SymbologyEncodeTypeSpecifies that the data should be encoded with<b>Code 39</b>full ASCII charset barcode specification: ISO/IEC 16388static final SymbologyEncodeTypeSpecifies that the data should be encoded with<b>CODE 93</b>barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with DataLogic 2 of 5 barcode specificationstatic final SymbologyEncodeType2D barcode symbology DataMatrixstatic final SymbologyEncodeTypeRepresents GS1 Databar expanded barcode.static final SymbologyEncodeTypeRepresents GS1 Databar expanded stacked barcode.static final SymbologyEncodeTypeRepresents GS1 DATABAR limited barcode.static final SymbologyEncodeTypeSpecifies that the data should be encoded with GS1 Databar omni-directional barcode specification.static final SymbologyEncodeTypeRepresents GS1 Databar stacked barcode.static final SymbologyEncodeTypeRepresents GS1 Databar stacked omni-directional barcode.static final SymbologyEncodeTypeSpecifies that the data should be encoded with GS1 Databar truncated barcode specification.static final SymbologyEncodeTypeRepresents 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)static final SymbologyEncodeTypeRepresents Deutsch Post Leitcode Barcode,also known as German Postal 2 of 5 Leitcode, CodeLeitcode, Leitcode, Deutsch Post AG (DHL).static final SymbologyEncodeTypeSpecifies that the data should be encoded withDotCodebarcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with Dutch KIX barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with EAN-13 barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with EAN14 barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with EAN-8 barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with<b>GS1 Aztec</b>barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with GS1 Codablock-F barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with GS1 Code 128 barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with GS1 Composite Bar barcode specification.static final SymbologyEncodeType2D barcode symbology DataMatrix with GS1 string formatstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with<b>GS1 DotCode</b>barcode specification.static final SymbologyEncodeType2D barcode symbology HabXin with GS1 string formatstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with GS1MicroPdf417 barcode specificationstatic final SymbologyEncodeType2D barcode symbology QR with GS1 string formatstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with Han Xin barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with<b>HIBC LIC Aztec</b>barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with<b>HIBC PAS Aztec</b>barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with<b>HIBC LIC Code128</b>barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with<b>HIBC PAS Code128</b>barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with<b>HIBC LIC Code39</b>barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with<b>HIBC PAS Code39</b>barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with<b>HIBC LIC DataMatrix</b>barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with<b>HIBC PAS DataMatrix</b>barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with<b>HIBC LIC QR</b>barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with<b>HIBC PAS QR</b>barcode specification.static final SymbologyEncodeTypeRepresents IATA 2 of 5 barcode.IATA (International Air Transport Assosiation) uses this barcode for the management of air cargo.static final SymbologyEncodeTypeSpecifies that the data should be encoded with INTERLEAVED 2 of 5 barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with isBN barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with ISMN barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with ISSN barcode specificationstatic final SymbologyEncodeTypeRepresents Italian Post 25 barcode.static final SymbologyEncodeTypeSpecifies that the data should be encoded with ITF14 barcode specificationstatic final SymbologyEncodeTypeRepresents ITF-6 Barcode.static final SymbologyEncodeTypeSpecifies that the data should be encoded with MacroPdf417 barcode specificationstatic final SymbologyEncodeTypeRepresents Royal Mail Mailmark barcode.static final SymbologyEncodeTypeRepresents Matrix 2 of 5 BarCodestatic final SymbologyEncodeTypeSpecifies that the data should be encoded withMaxiCodebarcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with MicroPdf417 barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with MicroQR Code barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with MSI Plessey barcode specificationstatic final SymbologyEncodeTypeUnspecified encode type.static final SymbologyEncodeTypeSpecifies that the data should be encoded with USPS OneCode barcode specificationstatic final SymbologyEncodeTypeRepresents OPC(Optical Product Code) Barcode,also known as , VCA Barcode VCA OPC, Vision Council of America OPC Barcode.static final SymbologyEncodeTypeRepresents Patch code barcodestatic final SymbologyEncodeTypeSpecifies that the data should be encoded with Pdf417 barcode specificationstatic final SymbologyEncodeTypeRepresents Pharmacode barcode.static final SymbologyEncodeTypeSpecifies that the data should be encoded with Planet barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with Postnet barcode specificationstatic final SymbologyEncodeTypeRepresents PZN barcode.This Symbology is also known as Pharmacy central number, Pharmazentralnummer.static final SymbologyEncodeTypeSpecifies that the data should be encoded with QR Code barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with RectMicroQR (rMQR) Code barcode specificationstatic final SymbologyEncodeTypeRepresents RM4SCC barcode.static final SymbologyEncodeTypeSpecifies that the data should be encoded with SCC14 barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with Singapore Post Barcode barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with SSCC18 barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with Standard 2 of 5 barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with Swiss Post Parcel Barcode barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with UPC-A barcode specificationstatic final SymbologyEncodeTypeSpecifies that the data should be encoded with UPC coupon with GS1-128 Extended Code barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with UPC coupon with GS1 DataBar addition barcode specification.static final SymbologyEncodeTypeSpecifies that the data should be encoded with UPC-E barcode specificationstatic final SymbologyEncodeTypeRepresents VIN (Vehicle Identification Number) Barcode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BaseEncodeType[]Specifies that data will be checked with all available symbologies.static String[]getNames()Retrieves an array of the names of the encode types.static booleanis2D(BaseEncodeType symbology) static booleanparse(String parsingType, BaseEncodeType[] result) Converts the string representation of a BaseEncodeType to its instance.static booleantryParse(String parsingType, BaseEncodeType[] result) Converts the string representation of a BaseEncodeType to its instance.
-
Field Details
-
NONE
Unspecified encode type.
-
CODABAR
Specifies that the data should be encoded with CODABAR barcode specification
-
CODE_11
Specifies that the data should be encoded with CODE 11 barcode specification
-
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
Specifies that the data should be encoded with
<b>Code 39</b>full ASCII charset barcode specification: ISO/IEC 16388 -
CODE_93
Specifies that the data should be encoded with
<b>CODE 93</b>barcode specification -
CODE_128
Specifies that the data should be encoded with CODE 128 barcode specification
-
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
Specifies that the data should be encoded with EAN-8 barcode specification
-
EAN_13
Specifies that the data should be encoded with EAN-13 barcode specification
-
EAN_14
Specifies that the data should be encoded with EAN14 barcode specification
-
SCC_14
Specifies that the data should be encoded with SCC14 barcode specification
-
SSCC_18
Specifies that the data should be encoded with SSCC18 barcode specification
-
UPCA
Specifies that the data should be encoded with UPC-A barcode specification
-
UPCE
Specifies that the data should be encoded with UPC-E barcode specification
-
ISBN
Specifies that the data should be encoded with isBN barcode specification
-
ISSN
Specifies that the data should be encoded with ISSN barcode specification
-
ISMN
Specifies that the data should be encoded with ISMN barcode specification
-
STANDARD_2_OF_5
Specifies that the data should be encoded with Standard 2 of 5 barcode specification
-
INTERLEAVED_2_OF_5
Specifies that the data should be encoded with INTERLEAVED 2 of 5 barcode specification
-
MATRIX_2_OF_5
Represents Matrix 2 of 5 BarCode
-
ITALIAN_POST_25
Represents Italian Post 25 barcode.
-
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
Specifies that the data should be encoded with ITF14 barcode specification
-
ITF_6
Represents ITF-6 Barcode.
-
MSI
Specifies that the data should be encoded with MSI Plessey barcode specification
-
VIN
Represents VIN (Vehicle Identification Number) Barcode.
-
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
Represents Deutsch Post Leitcode Barcode,also known as German Postal 2 of 5 Leitcode, CodeLeitcode, Leitcode, Deutsch Post AG (DHL).
-
OPC
Represents OPC(Optical Product Code) Barcode,also known as , VCA Barcode VCA OPC, Vision Council of America OPC Barcode.
-
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
Represents Code 16K barcode.
-
PHARMACODE
Represents Pharmacode barcode.
-
DATA_MATRIX
2D barcode symbology DataMatrix
-
QR
Specifies that the data should be encoded with QR Code barcode specification
-
AZTEC
Specifies that the data should be encoded with Aztec barcode specification
-
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
Specifies that the data should be encoded with Pdf417 barcode specification
-
MACRO_PDF_417
Specifies that the data should be encoded with MacroPdf417 barcode specification
-
GS_1_DATA_MATRIX
2D barcode symbology DataMatrix with GS1 string format
-
MICRO_PDF_417
Specifies that the data should be encoded with MicroPdf417 barcode specification
-
GS_1_MICRO_PDF_417
Specifies that the data should be encoded with GS1MicroPdf417 barcode specification -
GS_1_QR
2D barcode symbology QR with GS1 string format
-
MAXI_CODE
Specifies that the data should be encoded with
MaxiCodebarcode specification -
DOT_CODE
Specifies that the data should be encoded with
DotCodebarcode specification -
HAN_XIN
Specifies that the data should be encoded with Han Xin barcode specification -
GS_1_HAN_XIN
2D barcode symbology HabXin with GS1 string format -
MICRO_QR
Specifies that the data should be encoded with MicroQR Code barcode specification -
RECT_MICRO_QR
Specifies that the data should be encoded with RectMicroQR (rMQR) Code barcode specification -
AUSTRALIA_POST
Represents Australia Post Customer BarCode
-
POSTNET
Specifies that the data should be encoded with Postnet barcode specification
-
PLANET
Specifies that the data should be encoded with Planet barcode specification
-
ONE_CODE
Specifies that the data should be encoded with USPS OneCode barcode specification
-
RM_4_SCC
Represents RM4SCC barcode. RM4SCC (Royal Mail 4-state Customer Code) is used for automated mail sort process in UK.
-
MAILMARK
Represents Royal Mail Mailmark barcode. -
DATABAR_OMNI_DIRECTIONAL
Specifies that the data should be encoded with GS1 Databar omni-directional barcode specification.
-
DATABAR_TRUNCATED
Specifies that the data should be encoded with GS1 Databar truncated barcode specification.
-
DATABAR_LIMITED
Represents GS1 DATABAR limited barcode.
-
DATABAR_EXPANDED
Represents GS1 Databar expanded barcode.
-
DATABAR_EXPANDED_STACKED
Represents GS1 Databar expanded stacked barcode.
-
DATABAR_STACKED
Represents GS1 Databar stacked barcode.
-
DATABAR_STACKED_OMNI_DIRECTIONAL
Represents GS1 Databar stacked omni-directional barcode.
-
SINGAPORE_POST
Specifies that the data should be encoded with Singapore Post Barcode barcode specification
-
AUSTRALIAN_POSTE_PARCEL
Specifies that the data should be encoded with Australian Post Domestic eParcel Barcode barcode specification
-
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
Represents Patch code barcode
-
CODE_32
Specifies that the data should be encoded with Code32 barcode specification
-
DATA_LOGIC_2_OF_5
Specifies that the data should be encoded with DataLogic 2 of 5 barcode specification
-
DUTCH_KIX
Specifies that the data should be encoded with Dutch KIX barcode specification
-
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
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
Specifies that the data should be encoded with Codablock-F barcode specification.
-
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
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
Specifies that the data should be encoded with
<b>HIBC LIC Code39</b>barcode specification. -
HIBC_CODE_128_LIC
Specifies that the data should be encoded with
<b>HIBC LIC Code128</b>barcode specification. -
HIBC_AZTEC_LIC
Specifies that the data should be encoded with
<b>HIBC LIC Aztec</b>barcode specification. -
HIBC_DATA_MATRIX_LIC
Specifies that the data should be encoded with
<b>HIBC LIC DataMatrix</b>barcode specification. -
HIBCQRLIC
Specifies that the data should be encoded with
<b>HIBC LIC QR</b>barcode specification. -
HIBC_CODE_39_PAS
Specifies that the data should be encoded with
<b>HIBC PAS Code39</b>barcode specification. -
HIBC_CODE_128_PAS
Specifies that the data should be encoded with
<b>HIBC PAS Code128</b>barcode specification. -
HIBC_AZTEC_PAS
Specifies that the data should be encoded with
<b>HIBC PAS Aztec</b>barcode specification. -
HIBC_DATA_MATRIX_PAS
Specifies that the data should be encoded with
<b>HIBC PAS DataMatrix</b>barcode specification. -
HIBCQRPAS
Specifies that the data should be encoded with
<b>HIBC PAS QR</b>barcode specification. -
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
Specifies that data will be checked with all available symbologies.
-
getNames
Retrieves an array of the names of the encode types.
- Returns:
- A string array of the names of the encode types.
-
parse
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
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
-