com.google.zxing.common
Class DecoderResult

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

public final class DecoderResult
extends 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.

Since:
BlackBerry API 6.0.0

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



Constructor Detail

DecoderResult

public DecoderResult(byte[] rawBytes,
                     String text,
                     Vector byteSegments,
                     ErrorCorrectionLevel ecLevel)
Since:
BlackBerry API 6.0.0


Method Detail

getRawBytes

public byte[] getRawBytes()
Since:
BlackBerry API 6.0.0

getText

public String getText()
Since:
BlackBerry API 6.0.0

getByteSegments

public Vector getByteSegments()
Since:
BlackBerry API 6.0.0

getECLevel

public ErrorCorrectionLevel getECLevel()
Since:
BlackBerry API 6.0.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.