Add support for UPC/EAN +5 extensions, plus basic tests, and display the content...
[zxing.git] / core / src / com / google / zxing / BarcodeFormat.java
index 032a1b6..e10a8a8 100644 (file)
@@ -47,6 +47,9 @@ public final class BarcodeFormat {
   /** EAN-13 1D format. */
   public static final BarcodeFormat EAN_13 = new BarcodeFormat("EAN_13");
 
+  /** UPC/EAN extension format. Not a stand-alone format. */
+  public static final BarcodeFormat UPC_EAN_EXTENSION = new BarcodeFormat("UPC_EAN_EXTENSION");
+
   /** Code 128 1D format. */
   public static final BarcodeFormat CODE_128 = new BarcodeFormat("CODE_128");
 
@@ -54,9 +57,9 @@ public final class BarcodeFormat {
   public static final BarcodeFormat CODE_39 = new BarcodeFormat("CODE_39");
 
   /** Code 93 1D format. */
-  public static final BarcodeFormat CODE_93 = new BarcodeFormat("CODE_93");\r
-  \r
-  /** CODABAR 1D format. */\r
+  public static final BarcodeFormat CODE_93 = new BarcodeFormat("CODE_93");
+  
+  /** CODABAR 1D format. */
   public static final BarcodeFormat CODABAR = new BarcodeFormat("CODABAR");
 
   /** ITF (Interleaved Two of Five) 1D format. */