Class EncodeTypes
- java.lang.Object
-
- com.aspose.barcode.generation.EncodeTypes
-
public class EncodeTypes extends java.lang.Object
Specifies the type of barcode to encode.
-
-
Field Summary
Fields Modifier and Type Field Description static SymbologyEncodeType
AUSTRALIA_POST
Represents Australia Post Customer BarCodestatic SymbologyEncodeType
AUSTRALIAN_POSTE_PARCEL
Specifies that the data should be encoded with Australian Post Domestic eParcel Barcode barcode specificationstatic SymbologyEncodeType
AZTEC
Specifies that the data should be encoded with Aztec barcode specificationstatic SymbologyEncodeType
CODABAR
Specifies that the data should be encoded with CODABAR barcode specificationstatic SymbologyEncodeType
CODABLOCK_F
Specifies that the data should be encoded with Codablock-F barcode specification.static SymbologyEncodeType
CODE_11
Specifies that the data should be encoded with CODE 11 barcode specificationstatic SymbologyEncodeType
CODE_128
Specifies that the data should be encoded with CODE 128 barcode specificationstatic SymbologyEncodeType
CODE_16_K
Represents Code 16K barcode.static SymbologyEncodeType
CODE_32
Specifies that the data should be encoded with Code32 barcode specificationstatic SymbologyEncodeType
CODE_39_EXTENDED
Specifies that the data should be encoded with Extended CODE 39 barcode specificationstatic SymbologyEncodeType
CODE_39_STANDARD
Specifies that the data should be encoded with Standard CODE 39 barcode specificationstatic SymbologyEncodeType
CODE_93_EXTENDED
Specifies that the data should be encoded with Extended CODE 93 barcode specificationstatic SymbologyEncodeType
CODE_93_STANDARD
Specifies that the data should be encoded with Standard CODE 93 barcode specificationstatic SymbologyEncodeType
DATA_LOGIC_2_OF_5
Specifies that the data should be encoded with DataLogic 2 of 5 barcode specificationstatic SymbologyEncodeType
DATA_MATRIX
2D barcode symbology DataMatrixstatic SymbologyEncodeType
DATABAR_EXPANDED
Represents GS1 Databar expanded barcode.static SymbologyEncodeType
DATABAR_EXPANDED_STACKED
Represents GS1 Databar expanded stacked barcode.static SymbologyEncodeType
DATABAR_LIMITED
Represents GS1 DATABAR limited barcode.static SymbologyEncodeType
DATABAR_OMNI_DIRECTIONAL
Specifies that the data should be encoded with GS1 Databar omni-directional barcode specification.static SymbologyEncodeType
DATABAR_STACKED
Represents GS1 Databar stacked barcode.static SymbologyEncodeType
DATABAR_STACKED_OMNI_DIRECTIONAL
Represents GS1 Databar stacked omni-directional barcode.static SymbologyEncodeType
DATABAR_TRUNCATED
Specifies that the data should be encoded with GS1 Databar truncated barcode specification.static 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)static SymbologyEncodeType
DEUTSCHE_POST_LEITCODE
Represents Deutsch Post Leitcode Barcode,also known as German Postal 2 of 5 Leitcode, CodeLeitcode, Leitcode, Deutsch Post AG (DHL).static SymbologyEncodeType
DOT_CODE
Specifies that the data should be encoded withDotCode
barcode specificationstatic SymbologyEncodeType
DUTCH_KIX
Specifies that the data should be encoded with Dutch KIX barcode specificationstatic SymbologyEncodeType
EAN_13
Specifies that the data should be encoded with EAN-13 barcode specificationstatic SymbologyEncodeType
EAN_14
Specifies that the data should be encoded with EAN14 barcode specificationstatic SymbologyEncodeType
EAN_8
Specifies that the data should be encoded with EAN-8 barcode specificationstatic SymbologyEncodeType
GS_1_CODABLOCK_F
Specifies that the data should be encoded with GS1 Codablock-F barcode specification.static SymbologyEncodeType
GS_1_CODE_128
Specifies that the data should be encoded with GS1 Code 128 barcode specification.static SymbologyEncodeType
GS_1_COMPOSITE_BAR
Specifies that the data should be encoded with GS1 Composite Bar barcode specification.static SymbologyEncodeType
GS_1_DATA_MATRIX
2D barcode symbology DataMatrix with GS1 string formatstatic SymbologyEncodeType
GS_1_QR
2D barcode symbology QR with GS1 string formatstatic 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.static SymbologyEncodeType
INTERLEAVED_2_OF_5
Specifies that the data should be encoded with INTERLEAVED 2 of 5 barcode specificationstatic SymbologyEncodeType
ISBN
Specifies that the data should be encoded with isBN barcode specificationstatic SymbologyEncodeType
ISMN
Specifies that the data should be encoded with ISMN barcode specificationstatic SymbologyEncodeType
ISSN
Specifies that the data should be encoded with ISSN barcode specificationstatic SymbologyEncodeType
ITALIAN_POST_25
Represents Italian Post 25 barcode.static SymbologyEncodeType
ITF_14
Specifies that the data should be encoded with ITF14 barcode specificationstatic SymbologyEncodeType
ITF_6
Represents ITF-6 Barcode.static SymbologyEncodeType
MACRO_PDF_417
Specifies that the data should be encoded with MacroPdf417 barcode specificationstatic SymbologyEncodeType
MAILMARK
static SymbologyEncodeType
MATRIX_2_OF_5
Represents Matrix 2 of 5 BarCodestatic SymbologyEncodeType
MAXI_CODE
Specifies that the data should be encoded withMaxiCode
barcode specificationstatic SymbologyEncodeType
MICRO_PDF_417
Specifies that the data should be encoded with MicroPdf417 barcode specificationstatic SymbologyEncodeType
MSI
Specifies that the data should be encoded with MSI Plessey barcode specificationstatic SymbologyEncodeType
NONE
Unspecified encode type.static SymbologyEncodeType
ONE_CODE
Specifies that the data should be encoded with USPS OneCode barcode specificationstatic SymbologyEncodeType
OPC
Represents OPC(Optical Product Code) Barcode,also known as , VCA Barcode VCA OPC, Vision Council of America OPC Barcode.static SymbologyEncodeType
PATCH_CODE
Represents Patch code barcodestatic SymbologyEncodeType
PDF_417
Specifies that the data should be encoded with Pdf417 barcode specificationstatic SymbologyEncodeType
PHARMACODE
Represents Pharmacode barcode.static SymbologyEncodeType
PLANET
Specifies that the data should be encoded with Planet barcode specificationstatic SymbologyEncodeType
POSTNET
Specifies that the data should be encoded with Postnet barcode specificationstatic SymbologyEncodeType
PZN
Represents PZN barcode.This EncodeType is also known as Pharmacy central number, Pharmazentralnummerstatic SymbologyEncodeType
QR
Specifies that the data should be encoded with QR Code barcode specificationstatic SymbologyEncodeType
RM_4_SCC
Represents RM4SCC barcode.static SymbologyEncodeType
SCC_14
Specifies that the data should be encoded with SCC14 barcode specificationstatic SymbologyEncodeType
SINGAPORE_POST
Specifies that the data should be encoded with Singapore Post Barcode barcode specificationstatic SymbologyEncodeType
SSCC_18
Specifies that the data should be encoded with SSCC18 barcode specificationstatic SymbologyEncodeType
STANDARD_2_OF_5
Specifies that the data should be encoded with Standard 2 of 5 barcode specificationstatic SymbologyEncodeType
SWISS_POST_PARCEL
Specifies that the data should be encoded with Swiss Post Parcel Barcode barcode specification.static SymbologyEncodeType
UPCA
Specifies that the data should be encoded with UPC-A barcode specificationstatic SymbologyEncodeType
UPCA_GS_1_CODE_128_COUPON
Specifies that the data should be encoded with UPC coupon with GS1-128 Extended Code barcode specification.static SymbologyEncodeType
UPCA_GS_1_DATABAR_COUPON
Specifies that the data should be encoded with UPC coupon with GS1 DataBar addition barcode specification.static SymbologyEncodeType
UPCE
Specifies that the data should be encoded with UPC-E barcode specificationstatic SymbologyEncodeType
VIN
Represents VIN (Vehicle Identification Number) Barcode.
-
Constructor Summary
Constructors Constructor Description EncodeTypes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaseEncodeType[]
getAllEncodeTypes()
Specifies that data will be checked with all available symbologies.static java.lang.String[]
getNames()
Retrieves an array of the names of the encode types.static boolean
is2D(BaseEncodeType symbology)
static boolean
parse(java.lang.String parsingType, BaseEncodeType[] result)
Converts the string representation of a BaseEncodeType to its instance.static boolean
tryParse(java.lang.String parsingType, BaseEncodeType[] result)
Converts the string representation of a BaseEncodeType to its instance.
-
-
-
Field Detail
-
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_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
-
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 EncodeType is also known as Pharmacy central number, Pharmazentralnummer
-
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
-
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.
-
MAILMARK
public static final SymbologyEncodeType MAILMARK
-
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.Codetext = "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 '/'
-
-
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.
-
is2D
public static boolean is2D(BaseEncodeType symbology)
-
-