• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>BarcodeFormat (ZXing 3.5.1 API)</title>
8<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
9<script type="text/javascript" src="../../../script.js"></script>
10</head>
11<body>
12<script type="text/javascript"><!--
13    try {
14        if (location.href.indexOf('is-external=true') == -1) {
15            parent.document.title="BarcodeFormat (ZXing 3.5.1 API)";
16        }
17    }
18    catch(err) {
19    }
20//-->
21var methods = {"i0":9,"i1":9};
22var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
23var altColor = "altColor";
24var rowColor = "rowColor";
25var tableTab = "tableTab";
26var activeTableTab = "activeTableTab";
27</script>
28<noscript>
29<div>JavaScript is disabled on your browser.</div>
30</noscript>
31<!-- ========= START OF TOP NAVBAR ======= -->
32<div class="topNav"><a name="navbar.top">
33<!--   -->
34</a>
35<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
36<a name="navbar.top.firstrow">
37<!--   -->
38</a>
39<ul class="navList" title="Navigation">
40<li><a href="../../../overview-summary.html">Overview</a></li>
41<li><a href="package-summary.html">Package</a></li>
42<li class="navBarCell1Rev">Class</li>
43<li><a href="class-use/BarcodeFormat.html">Use</a></li>
44<li><a href="package-tree.html">Tree</a></li>
45<li><a href="../../../deprecated-list.html">Deprecated</a></li>
46<li><a href="../../../index-all.html">Index</a></li>
47<li><a href="../../../help-doc.html">Help</a></li>
48</ul>
49</div>
50<div class="subNav">
51<ul class="navList">
52<li>Prev&nbsp;Class</li>
53<li><a href="../../../com/google/zxing/Binarizer.html" title="class in com.google.zxing"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
54</ul>
55<ul class="navList">
56<li><a href="../../../index.html?com/google/zxing/BarcodeFormat.html" target="_top">Frames</a></li>
57<li><a href="BarcodeFormat.html" target="_top">No&nbsp;Frames</a></li>
58</ul>
59<ul class="navList" id="allclasses_navbar_top">
60<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
61</ul>
62<div>
63<script type="text/javascript"><!--
64  allClassesLink = document.getElementById("allclasses_navbar_top");
65  if(window==top) {
66    allClassesLink.style.display = "block";
67  }
68  else {
69    allClassesLink.style.display = "none";
70  }
71  //-->
72</script>
73</div>
74<div>
75<ul class="subNavList">
76<li>Summary:&nbsp;</li>
77<li>Nested&nbsp;|&nbsp;</li>
78<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
79<li>Field&nbsp;|&nbsp;</li>
80<li><a href="#method.summary">Method</a></li>
81</ul>
82<ul class="subNavList">
83<li>Detail:&nbsp;</li>
84<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
85<li>Field&nbsp;|&nbsp;</li>
86<li><a href="#method.detail">Method</a></li>
87</ul>
88</div>
89<a name="skip.navbar.top">
90<!--   -->
91</a></div>
92<!-- ========= END OF TOP NAVBAR ========= -->
93<!-- ======== START OF CLASS DATA ======== -->
94<div class="header">
95<div class="subTitle">com.google.zxing</div>
96<h2 title="Enum BarcodeFormat" class="title">Enum BarcodeFormat</h2>
97</div>
98<div class="contentContainer">
99<ul class="inheritance">
100<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
101<li>
102<ul class="inheritance">
103<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a>&lt;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a>&gt;</li>
104<li>
105<ul class="inheritance">
106<li>com.google.zxing.BarcodeFormat</li>
107</ul>
108</li>
109</ul>
110</li>
111</ul>
112<div class="description">
113<ul class="blockList">
114<li class="blockList">
115<dl>
116<dt>All Implemented Interfaces:</dt>
117<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a>&gt;</dd>
118</dl>
119<hr>
120<br>
121<pre>public enum <span class="typeNameLabel">BarcodeFormat</span>
122extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a>&gt;</pre>
123<div class="block">Enumerates barcode formats known to this package. Please keep alphabetized.</div>
124<dl>
125<dt><span class="simpleTagLabel">Author:</span></dt>
126<dd>Sean Owen</dd>
127</dl>
128</li>
129</ul>
130</div>
131<div class="summary">
132<ul class="blockList">
133<li class="blockList">
134<!-- =========== ENUM CONSTANT SUMMARY =========== -->
135<ul class="blockList">
136<li class="blockList"><a name="enum.constant.summary">
137<!--   -->
138</a>
139<h3>Enum Constant Summary</h3>
140<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
141<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
142<tr>
143<th class="colOne" scope="col">Enum Constant and Description</th>
144</tr>
145<tr class="altColor">
146<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#AZTEC">AZTEC</a></span></code>
147<div class="block">Aztec 2D barcode format.</div>
148</td>
149</tr>
150<tr class="rowColor">
151<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#CODABAR">CODABAR</a></span></code>
152<div class="block">CODABAR 1D format.</div>
153</td>
154</tr>
155<tr class="altColor">
156<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#CODE_128">CODE_128</a></span></code>
157<div class="block">Code 128 1D format.</div>
158</td>
159</tr>
160<tr class="rowColor">
161<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#CODE_39">CODE_39</a></span></code>
162<div class="block">Code 39 1D format.</div>
163</td>
164</tr>
165<tr class="altColor">
166<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#CODE_93">CODE_93</a></span></code>
167<div class="block">Code 93 1D format.</div>
168</td>
169</tr>
170<tr class="rowColor">
171<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#DATA_MATRIX">DATA_MATRIX</a></span></code>
172<div class="block">Data Matrix 2D barcode format.</div>
173</td>
174</tr>
175<tr class="altColor">
176<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#EAN_13">EAN_13</a></span></code>
177<div class="block">EAN-13 1D format.</div>
178</td>
179</tr>
180<tr class="rowColor">
181<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#EAN_8">EAN_8</a></span></code>
182<div class="block">EAN-8 1D format.</div>
183</td>
184</tr>
185<tr class="altColor">
186<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#ITF">ITF</a></span></code>
187<div class="block">ITF (Interleaved Two of Five) 1D format.</div>
188</td>
189</tr>
190<tr class="rowColor">
191<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#MAXICODE">MAXICODE</a></span></code>
192<div class="block">MaxiCode 2D barcode format.</div>
193</td>
194</tr>
195<tr class="altColor">
196<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#PDF_417">PDF_417</a></span></code>
197<div class="block">PDF417 format.</div>
198</td>
199</tr>
200<tr class="rowColor">
201<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#QR_CODE">QR_CODE</a></span></code>
202<div class="block">QR Code 2D barcode format.</div>
203</td>
204</tr>
205<tr class="altColor">
206<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#RSS_14">RSS_14</a></span></code>
207<div class="block">RSS 14</div>
208</td>
209</tr>
210<tr class="rowColor">
211<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#RSS_EXPANDED">RSS_EXPANDED</a></span></code>
212<div class="block">RSS EXPANDED</div>
213</td>
214</tr>
215<tr class="altColor">
216<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#UPC_A">UPC_A</a></span></code>
217<div class="block">UPC-A 1D format.</div>
218</td>
219</tr>
220<tr class="rowColor">
221<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#UPC_E">UPC_E</a></span></code>
222<div class="block">UPC-E 1D format.</div>
223</td>
224</tr>
225<tr class="altColor">
226<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#UPC_EAN_EXTENSION">UPC_EAN_EXTENSION</a></span></code>
227<div class="block">UPC/EAN extension format.</div>
228</td>
229</tr>
230</table>
231</li>
232</ul>
233<!-- ========== METHOD SUMMARY =========== -->
234<ul class="blockList">
235<li class="blockList"><a name="method.summary">
236<!--   -->
237</a>
238<h3>Method Summary</h3>
239<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
240<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
241<tr>
242<th class="colFirst" scope="col">Modifier and Type</th>
243<th class="colLast" scope="col">Method and Description</th>
244</tr>
245<tr id="i0" class="altColor">
246<td class="colFirst"><code>static <a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a></code></td>
247<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#valueOf-java.lang.String-">valueOf</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
248<div class="block">Returns the enum constant of this type with the specified name.</div>
249</td>
250</tr>
251<tr id="i1" class="rowColor">
252<td class="colFirst"><code>static <a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a>[]</code></td>
253<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/google/zxing/BarcodeFormat.html#values--">values</a></span>()</code>
254<div class="block">Returns an array containing the constants of this enum type, in
255the order they are declared.</div>
256</td>
257</tr>
258</table>
259<ul class="blockList">
260<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
261<!--   -->
262</a>
263<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3>
264<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-" title="class or interface in java.lang">compareTo</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--" title="class or interface in java.lang">getDeclaringClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#name--" title="class or interface in java.lang">name</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#ordinal--" title="class or interface in java.lang">ordinal</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="class or interface in java.lang">valueOf</a></code></li>
265</ul>
266<ul class="blockList">
267<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
268<!--   -->
269</a>
270<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
271<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
272</ul>
273</li>
274</ul>
275</li>
276</ul>
277</div>
278<div class="details">
279<ul class="blockList">
280<li class="blockList">
281<!-- ============ ENUM CONSTANT DETAIL =========== -->
282<ul class="blockList">
283<li class="blockList"><a name="enum.constant.detail">
284<!--   -->
285</a>
286<h3>Enum Constant Detail</h3>
287<a name="AZTEC">
288<!--   -->
289</a>
290<ul class="blockList">
291<li class="blockList">
292<h4>AZTEC</h4>
293<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> AZTEC</pre>
294<div class="block">Aztec 2D barcode format.</div>
295</li>
296</ul>
297<a name="CODABAR">
298<!--   -->
299</a>
300<ul class="blockList">
301<li class="blockList">
302<h4>CODABAR</h4>
303<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> CODABAR</pre>
304<div class="block">CODABAR 1D format.</div>
305</li>
306</ul>
307<a name="CODE_39">
308<!--   -->
309</a>
310<ul class="blockList">
311<li class="blockList">
312<h4>CODE_39</h4>
313<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> CODE_39</pre>
314<div class="block">Code 39 1D format.</div>
315</li>
316</ul>
317<a name="CODE_93">
318<!--   -->
319</a>
320<ul class="blockList">
321<li class="blockList">
322<h4>CODE_93</h4>
323<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> CODE_93</pre>
324<div class="block">Code 93 1D format.</div>
325</li>
326</ul>
327<a name="CODE_128">
328<!--   -->
329</a>
330<ul class="blockList">
331<li class="blockList">
332<h4>CODE_128</h4>
333<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> CODE_128</pre>
334<div class="block">Code 128 1D format.</div>
335</li>
336</ul>
337<a name="DATA_MATRIX">
338<!--   -->
339</a>
340<ul class="blockList">
341<li class="blockList">
342<h4>DATA_MATRIX</h4>
343<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> DATA_MATRIX</pre>
344<div class="block">Data Matrix 2D barcode format.</div>
345</li>
346</ul>
347<a name="EAN_8">
348<!--   -->
349</a>
350<ul class="blockList">
351<li class="blockList">
352<h4>EAN_8</h4>
353<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> EAN_8</pre>
354<div class="block">EAN-8 1D format.</div>
355</li>
356</ul>
357<a name="EAN_13">
358<!--   -->
359</a>
360<ul class="blockList">
361<li class="blockList">
362<h4>EAN_13</h4>
363<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> EAN_13</pre>
364<div class="block">EAN-13 1D format.</div>
365</li>
366</ul>
367<a name="ITF">
368<!--   -->
369</a>
370<ul class="blockList">
371<li class="blockList">
372<h4>ITF</h4>
373<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> ITF</pre>
374<div class="block">ITF (Interleaved Two of Five) 1D format.</div>
375</li>
376</ul>
377<a name="MAXICODE">
378<!--   -->
379</a>
380<ul class="blockList">
381<li class="blockList">
382<h4>MAXICODE</h4>
383<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> MAXICODE</pre>
384<div class="block">MaxiCode 2D barcode format.</div>
385</li>
386</ul>
387<a name="PDF_417">
388<!--   -->
389</a>
390<ul class="blockList">
391<li class="blockList">
392<h4>PDF_417</h4>
393<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> PDF_417</pre>
394<div class="block">PDF417 format.</div>
395</li>
396</ul>
397<a name="QR_CODE">
398<!--   -->
399</a>
400<ul class="blockList">
401<li class="blockList">
402<h4>QR_CODE</h4>
403<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> QR_CODE</pre>
404<div class="block">QR Code 2D barcode format.</div>
405</li>
406</ul>
407<a name="RSS_14">
408<!--   -->
409</a>
410<ul class="blockList">
411<li class="blockList">
412<h4>RSS_14</h4>
413<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> RSS_14</pre>
414<div class="block">RSS 14</div>
415</li>
416</ul>
417<a name="RSS_EXPANDED">
418<!--   -->
419</a>
420<ul class="blockList">
421<li class="blockList">
422<h4>RSS_EXPANDED</h4>
423<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> RSS_EXPANDED</pre>
424<div class="block">RSS EXPANDED</div>
425</li>
426</ul>
427<a name="UPC_A">
428<!--   -->
429</a>
430<ul class="blockList">
431<li class="blockList">
432<h4>UPC_A</h4>
433<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> UPC_A</pre>
434<div class="block">UPC-A 1D format.</div>
435</li>
436</ul>
437<a name="UPC_E">
438<!--   -->
439</a>
440<ul class="blockList">
441<li class="blockList">
442<h4>UPC_E</h4>
443<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> UPC_E</pre>
444<div class="block">UPC-E 1D format.</div>
445</li>
446</ul>
447<a name="UPC_EAN_EXTENSION">
448<!--   -->
449</a>
450<ul class="blockListLast">
451<li class="blockList">
452<h4>UPC_EAN_EXTENSION</h4>
453<pre>public static final&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a> UPC_EAN_EXTENSION</pre>
454<div class="block">UPC/EAN extension format. Not a stand-alone format.</div>
455</li>
456</ul>
457</li>
458</ul>
459<!-- ============ METHOD DETAIL ========== -->
460<ul class="blockList">
461<li class="blockList"><a name="method.detail">
462<!--   -->
463</a>
464<h3>Method Detail</h3>
465<a name="values--">
466<!--   -->
467</a>
468<ul class="blockList">
469<li class="blockList">
470<h4>values</h4>
471<pre>public static&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a>[]&nbsp;values()</pre>
472<div class="block">Returns an array containing the constants of this enum type, in
473the order they are declared.  This method may be used to iterate
474over the constants as follows:
475<pre>
476for (BarcodeFormat c : BarcodeFormat.values())
477&nbsp;   System.out.println(c);
478</pre></div>
479<dl>
480<dt><span class="returnLabel">Returns:</span></dt>
481<dd>an array containing the constants of this enum type, in the order they are declared</dd>
482</dl>
483</li>
484</ul>
485<a name="valueOf-java.lang.String-">
486<!--   -->
487</a>
488<ul class="blockListLast">
489<li class="blockList">
490<h4>valueOf</h4>
491<pre>public static&nbsp;<a href="../../../com/google/zxing/BarcodeFormat.html" title="enum in com.google.zxing">BarcodeFormat</a>&nbsp;valueOf(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
492<div class="block">Returns the enum constant of this type with the specified name.
493The string must match <i>exactly</i> an identifier used to declare an
494enum constant in this type.  (Extraneous whitespace characters are
495not permitted.)</div>
496<dl>
497<dt><span class="paramLabel">Parameters:</span></dt>
498<dd><code>name</code> - the name of the enum constant to be returned.</dd>
499<dt><span class="returnLabel">Returns:</span></dt>
500<dd>the enum constant with the specified name</dd>
501<dt><span class="throwsLabel">Throws:</span></dt>
502<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd>
503<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd>
504</dl>
505</li>
506</ul>
507</li>
508</ul>
509</li>
510</ul>
511</div>
512</div>
513<!-- ========= END OF CLASS DATA ========= -->
514<!-- ======= START OF BOTTOM NAVBAR ====== -->
515<div class="bottomNav"><a name="navbar.bottom">
516<!--   -->
517</a>
518<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
519<a name="navbar.bottom.firstrow">
520<!--   -->
521</a>
522<ul class="navList" title="Navigation">
523<li><a href="../../../overview-summary.html">Overview</a></li>
524<li><a href="package-summary.html">Package</a></li>
525<li class="navBarCell1Rev">Class</li>
526<li><a href="class-use/BarcodeFormat.html">Use</a></li>
527<li><a href="package-tree.html">Tree</a></li>
528<li><a href="../../../deprecated-list.html">Deprecated</a></li>
529<li><a href="../../../index-all.html">Index</a></li>
530<li><a href="../../../help-doc.html">Help</a></li>
531</ul>
532</div>
533<div class="subNav">
534<ul class="navList">
535<li>Prev&nbsp;Class</li>
536<li><a href="../../../com/google/zxing/Binarizer.html" title="class in com.google.zxing"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
537</ul>
538<ul class="navList">
539<li><a href="../../../index.html?com/google/zxing/BarcodeFormat.html" target="_top">Frames</a></li>
540<li><a href="BarcodeFormat.html" target="_top">No&nbsp;Frames</a></li>
541</ul>
542<ul class="navList" id="allclasses_navbar_bottom">
543<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
544</ul>
545<div>
546<script type="text/javascript"><!--
547  allClassesLink = document.getElementById("allclasses_navbar_bottom");
548  if(window==top) {
549    allClassesLink.style.display = "block";
550  }
551  else {
552    allClassesLink.style.display = "none";
553  }
554  //-->
555</script>
556</div>
557<div>
558<ul class="subNavList">
559<li>Summary:&nbsp;</li>
560<li>Nested&nbsp;|&nbsp;</li>
561<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
562<li>Field&nbsp;|&nbsp;</li>
563<li><a href="#method.summary">Method</a></li>
564</ul>
565<ul class="subNavList">
566<li>Detail:&nbsp;</li>
567<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
568<li>Field&nbsp;|&nbsp;</li>
569<li><a href="#method.detail">Method</a></li>
570</ul>
571</div>
572<a name="skip.navbar.bottom">
573<!--   -->
574</a></div>
575<!-- ======== END OF BOTTOM NAVBAR ======= -->
576<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2022. All rights reserved.</small></p>
577</body>
578</html>
579