1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (build 1.6.0_13) on Fri Jun 26 13:12:29 EDT 2009 -->
10 <META NAME="date" CONTENT="2009-06-26">
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
14 <SCRIPT type="text/javascript">
15 function windowTitle()
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="DecoderResult";
27 <BODY BGCOLOR="white" onload="windowTitle();">
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <A NAME="navbar_top"><!-- --></A>
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37 <A NAME="navbar_top_firstrow"><!-- --></A>
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39 <TR ALIGN="center" VALIGN="top">
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
50 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
56 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57 <A HREF="../../../../com/google/zxing/common/CroppedMonochromeBitmapSource.html" title="class in com.google.zxing.common"><B>PREV CLASS</B></A>
58 <A HREF="../../../../com/google/zxing/common/DefaultGridSampler.html" title="class in com.google.zxing.common"><B>NEXT CLASS</B></A></FONT></TD>
59 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60 <A HREF="../../../../index.html?com/google/zxing/common/DecoderResult.html" target="_top"><B>FRAMES</B></A>
61 <A HREF="DecoderResult.html" target="_top"><B>NO FRAMES</B></A>
62 <SCRIPT type="text/javascript">
65 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
70 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
83 <A NAME="skip-navbar_top"></A>
84 <!-- ========= END OF TOP NAVBAR ========= -->
87 <!-- ======== START OF CLASS DATA ======== -->
90 com.google.zxing.common</FONT>
92 Class DecoderResult</H2>
95 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.google.zxing.common.DecoderResult</B>
99 <DT><PRE>public final class <B>DecoderResult</B><DT>extends java.lang.Object</DL>
103 <p>Encapsulates the result of decoding a matrix of bits. This typically
104 applies to 2D barcode formats. For now it contains the raw bytes obtained,
105 as well as a String interpretation of those bytes, if applicable.</p>
110 <DT><B>Author:</B></DT>
117 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
119 <A NAME="constructor_summary"><!-- --></A>
120 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
121 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
122 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
123 <B>Constructor Summary</B></FONT></TH>
125 <TR BGCOLOR="white" CLASS="TableRowColor">
126 <TD><CODE><B><A HREF="../../../../com/google/zxing/common/DecoderResult.html#DecoderResult(byte[], java.lang.String, java.util.Vector)">DecoderResult</A></B>(byte[] rawBytes,
127 java.lang.String text,
128 java.util.Vector byteSegments)</CODE>
131 </TD>
135 <!-- ========== METHOD SUMMARY =========== -->
137 <A NAME="method_summary"><!-- --></A>
138 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
139 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
140 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
141 <B>Method Summary</B></FONT></TH>
143 <TR BGCOLOR="white" CLASS="TableRowColor">
144 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145 <CODE> java.util.Vector</CODE></FONT></TD>
146 <TD><CODE><B><A HREF="../../../../com/google/zxing/common/DecoderResult.html#getByteSegments()">getByteSegments</A></B>()</CODE>
149 </TD>
151 <TR BGCOLOR="white" CLASS="TableRowColor">
152 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
153 <CODE> byte[]</CODE></FONT></TD>
154 <TD><CODE><B><A HREF="../../../../com/google/zxing/common/DecoderResult.html#getRawBytes()">getRawBytes</A></B>()</CODE>
157 </TD>
159 <TR BGCOLOR="white" CLASS="TableRowColor">
160 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
161 <CODE> java.lang.String</CODE></FONT></TD>
162 <TD><CODE><B><A HREF="../../../../com/google/zxing/common/DecoderResult.html#getText()">getText</A></B>()</CODE>
165 </TD>
168 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
169 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
170 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
171 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
173 <TR BGCOLOR="white" CLASS="TableRowColor">
174 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
180 <!-- ========= CONSTRUCTOR DETAIL ======== -->
182 <A NAME="constructor_detail"><!-- --></A>
183 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
184 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
185 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
186 <B>Constructor Detail</B></FONT></TH>
190 <A NAME="DecoderResult(byte[], java.lang.String, java.util.Vector)"><!-- --></A><H3>
193 public <B>DecoderResult</B>(byte[] rawBytes,
194 java.lang.String text,
195 java.util.Vector byteSegments)</PRE>
199 <!-- ============ METHOD DETAIL ========== -->
201 <A NAME="method_detail"><!-- --></A>
202 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
203 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
204 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
205 <B>Method Detail</B></FONT></TH>
209 <A NAME="getRawBytes()"><!-- --></A><H3>
212 public byte[] <B>getRawBytes</B>()</PRE>
220 <A NAME="getText()"><!-- --></A><H3>
223 public java.lang.String <B>getText</B>()</PRE>
231 <A NAME="getByteSegments()"><!-- --></A><H3>
234 public java.util.Vector <B>getByteSegments</B>()</PRE>
240 <!-- ========= END OF CLASS DATA ========= -->
244 <!-- ======= START OF BOTTOM NAVBAR ====== -->
245 <A NAME="navbar_bottom"><!-- --></A>
246 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
247 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
249 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
250 <A NAME="navbar_bottom_firstrow"><!-- --></A>
251 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
252 <TR ALIGN="center" VALIGN="top">
253 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
254 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
255 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
256 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
257 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
258 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
259 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
263 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
264 <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-788492-5"); pageTracker._initData(); pageTracker._trackPageview(); </script></EM>
269 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
270 <A HREF="../../../../com/google/zxing/common/CroppedMonochromeBitmapSource.html" title="class in com.google.zxing.common"><B>PREV CLASS</B></A>
271 <A HREF="../../../../com/google/zxing/common/DefaultGridSampler.html" title="class in com.google.zxing.common"><B>NEXT CLASS</B></A></FONT></TD>
272 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
273 <A HREF="../../../../index.html?com/google/zxing/common/DecoderResult.html" target="_top"><B>FRAMES</B></A>
274 <A HREF="DecoderResult.html" target="_top"><B>NO FRAMES</B></A>
275 <SCRIPT type="text/javascript">
278 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
283 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
290 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
291 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
292 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
293 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
296 <A NAME="skip-navbar_bottom"></A>
297 <!-- ======== END OF BOTTOM NAVBAR ======= -->