--- /dev/null
+/*\r
+* Copyright 2007 ZXing authors\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*/\r
+namespace com.google.zxing\r
+{\r
+ using System;\r
+\r
+ /// <summary> Enumerates barcode formats known to this package.\r
+ /// *\r
+ /// </summary>\r
+ /// <author> Sean Owen\r
+ /// \r
+ /// </author>\r
+ public sealed class BarcodeFormat\r
+ {\r
+\r
+ // No, we can't use an enum here. J2ME doesn't support it.\r
+\r
+ /// <summary>QR Code 2D barcode format. \r
+ /// </summary>\r
+ //UPGRADE_NOTE: Final was removed from the declaration of 'QR_CODE '. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1003"'\r
+ public static readonly BarcodeFormat QR_CODE = new BarcodeFormat("QR_CODE");\r
+\r
+ /// <summary>DataMatrix 2D barcode format. \r
+ /// </summary>\r
+ //UPGRADE_NOTE: Final was removed from the declaration of 'DATAMATRIX '. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1003"'\r
+ public static readonly BarcodeFormat DATAMATRIX = new BarcodeFormat("DATAMATRIX");\r
+\r
+ /// <summary>UPC-E 1D format. \r
+ /// </summary>\r
+ //UPGRADE_NOTE: Final was removed from the declaration of 'UPC_E '. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1003"'\r
+ public static readonly BarcodeFormat UPC_E = new BarcodeFormat("UPC_E");\r
+\r
+ /// <summary>UPC-A 1D format. \r
+ /// </summary>\r
+ //UPGRADE_NOTE: Final was removed from the declaration of 'UPC_A '. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1003"'\r
+ public static readonly BarcodeFormat UPC_A = new BarcodeFormat("UPC_A");\r
+\r
+ /// <summary>EAN-8 1D format. \r
+ /// </summary>\r
+ //UPGRADE_NOTE: Final was removed from the declaration of 'EAN_8 '. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1003"'\r
+ public static readonly BarcodeFormat EAN_8 = new BarcodeFormat("EAN_8");\r
+\r
+ /// <summary>EAN-13 1D format. \r
+ /// </summary>\r
+ //UPGRADE_NOTE: Final was removed from the declaration of 'EAN_13 '. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1003"'\r
+ public static readonly BarcodeFormat EAN_13 = new BarcodeFormat("EAN_13");\r
+\r
+ /// <summary>Code 128 1D format. \r
+ /// </summary>\r
+ //UPGRADE_NOTE: Final was removed from the declaration of 'CODE_128 '. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1003"'\r
+ public static readonly BarcodeFormat CODE_128 = new BarcodeFormat("CODE_128");\r
+\r
+ /// <summary>Code 39 1D format. \r
+ /// </summary>\r
+ //UPGRADE_NOTE: Final was removed from the declaration of 'CODE_39 '. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1003"'\r
+ public static readonly BarcodeFormat CODE_39 = new BarcodeFormat("CODE_39");\r
+\r
+ /// <summary>ITF (Interleaved Two of Five) 1D format. \r
+ /// </summary>\r
+ //UPGRADE_NOTE: Final was removed from the declaration of 'ITF '. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1003"'\r
+ public static readonly BarcodeFormat ITF = new BarcodeFormat("ITF");\r
+\r
+ //UPGRADE_NOTE: Final was removed from the declaration of 'name '. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1003"'\r
+ private System.String name;\r
+\r
+ private BarcodeFormat(System.String name)\r
+ {\r
+ this.name = name;\r
+ }\r
+\r
+ public override System.String ToString()\r
+ {\r
+ return name;\r
+ }\r
+ }\r
+}
\ No newline at end of file