Class DecoderResult
- java.lang.Object
-
- ext.plantuml.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.
- Author:
- Sean Owen
-
-
Constructor Summary
Constructors Constructor Description DecoderResult(byte[] rawBytes, String text, Vector byteSegments, ErrorCorrectionLevel ecLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector
getByteSegments()
ErrorCorrectionLevel
getECLevel()
byte[]
getRawBytes()
String
getText()
-
-
-
Constructor Detail
-
DecoderResult
public DecoderResult(byte[] rawBytes, String text, Vector byteSegments, ErrorCorrectionLevel ecLevel)
-
-
Method Detail
-
getRawBytes
public byte[] getRawBytes()
-
getText
public String getText()
-
getByteSegments
public Vector getByteSegments()
-
getECLevel
public ErrorCorrectionLevel getECLevel()
-
-