com.google.zxing.common
Class DecoderResult

java.lang.Object
  extended by com.google.zxing.common.DecoderResult

public final class DecoderResult
extends java.lang.Object

Encapsulates the result of decoding a matrix of bits. This typically applies to 2D barcode formats. For now it contains the raw bytes obtained, as well as a String interpretation of those bytes, if applicable.

Author:
Sean Owen

Constructor Summary
DecoderResult(byte[] rawBytes, java.lang.String text, java.util.Vector byteSegments)
           
 
Method Summary
 java.util.Vector getByteSegments()
           
 byte[] getRawBytes()
           
 java.lang.String getText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecoderResult

public DecoderResult(byte[] rawBytes,
                     java.lang.String text,
                     java.util.Vector byteSegments)
Method Detail

getRawBytes

public byte[] getRawBytes()

getText

public java.lang.String getText()

getByteSegments

public java.util.Vector getByteSegments()