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.
| Constructor and Description |
|---|
DecoderResult(byte[] rawBytes,
java.lang.String text,
java.util.Vector byteSegments,
ErrorCorrectionLevel ecLevel) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector |
getByteSegments() |
ErrorCorrectionLevel |
getECLevel() |
byte[] |
getRawBytes() |
java.lang.String |
getText() |
public DecoderResult(byte[] rawBytes,
java.lang.String text,
java.util.Vector byteSegments,
ErrorCorrectionLevel ecLevel)
public byte[] getRawBytes()
public java.lang.String getText()
public java.util.Vector getByteSegments()
public ErrorCorrectionLevel getECLevel()