to top
Datalogic APIs
public final enum

Gs1Conversion2d

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.decode.configuration.Gs1Conversion2d

Class Overview

Gs1Conversion2d is an enumeration defining the conversion used for GS1 2D barcodes. The type is one of:

DISABLED No conversion.
GS1_128 Convert the barcode to GS1-128 format.
GTIN Take only the GTIN portion of the barcode and convert it to GTIN format.
UPCA_EAN13_COMPATIBILITY Take only the GTIN portion of the barcode and convert it to the shortest option between GTIN, EAN13 and UPCA.
SHORTEST_UPC_EAN_COMPATIBILITY Take only the GTIN portion of the barcode and convert it to the shortest option between GTIN, EAN13, UPCA, EAN8 and UPCE.

Summary

Enum Values
Gs1Conversion2d  DISABLED  No conversion. 
Gs1Conversion2d  GS1_128  Convert the barcode to GS1-128 format. 
Gs1Conversion2d  GTIN  Take only the GTIN portion of the barcode and convert it to GTIN format. 
Gs1Conversion2d  SHORTEST_UPC_EAN_COMPATIBILITY  Take only the GTIN portion of the barcode and convert it to the shortest option between GTIN, EAN13, UPCA, EAN8 and UPCE. 
Gs1Conversion2d  UPCA_EAN13_COMPATIBILITY  Take only the GTIN portion of the barcode and convert it to the shortest option between GTIN, EAN13 and UPCA. 
Public Methods
static Gs1Conversion2d valueOf(String name)
final static Gs1Conversion2d[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Gs1Conversion2d DISABLED

Added in revision 36

No conversion.

public static final Gs1Conversion2d GS1_128

Added in revision 36

Convert the barcode to GS1-128 format.

public static final Gs1Conversion2d GTIN

Added in revision 36

Take only the GTIN portion of the barcode and convert it to GTIN format.

public static final Gs1Conversion2d SHORTEST_UPC_EAN_COMPATIBILITY

Added in revision 36

Take only the GTIN portion of the barcode and convert it to the shortest option between GTIN, EAN13, UPCA, EAN8 and UPCE.

public static final Gs1Conversion2d UPCA_EAN13_COMPATIBILITY

Added in revision 36

Take only the GTIN portion of the barcode and convert it to the shortest option between GTIN, EAN13 and UPCA.

Public Methods

public static Gs1Conversion2d valueOf (String name)

Added in revision 36

public static final Gs1Conversion2d[] values ()

Added in revision 36