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.
Constructor and Description |
---|
DecoderResult(byte[] rawBytes,
String text,
List<byte[]> byteSegments,
String ecLevel) |
Modifier and Type | Method and Description |
---|---|
List<byte[]> |
getByteSegments() |
String |
getECLevel() |
Integer |
getErasures() |
Integer |
getErrorsCorrected() |
Object |
getOther() |
byte[] |
getRawBytes() |
String |
getText() |
void |
setErasures(Integer erasures) |
void |
setErrorsCorrected(Integer errorsCorrected) |
void |
setOther(Object other) |
public byte[] getRawBytes()
public String getText()
public List<byte[]> getByteSegments()
public String getECLevel()
public Integer getErrorsCorrected()
public void setErrorsCorrected(Integer errorsCorrected)
public Integer getErasures()
public void setErasures(Integer erasures)
public Object getOther()
public void setOther(Object other)
Copyright © 2007-2013. All Rights Reserved.