com.pax.dal.entity
Class ScanResultRaw
- java.lang.Object
-
- com.pax.dal.entity.ScanResultRaw
-
public class ScanResultRaw extends java.lang.Object
未经编码转换的扫描结果。Scan results without encoding conversion.
-
-
Constructor Summary
Constructors Constructor and Description ScanResultRaw(byte[] content, java.lang.String format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description byte[]getContent()获取未经编码转换的原始数据。Get the raw data without encoding conversion.java.lang.StringgetFormat()获取条形码格式。Get the barcode format.
-
-
-
Constructor Detail
-
ScanResultRaw
public ScanResultRaw(byte[] content, java.lang.String format)
-
-
Method Detail
-
getContent
public byte[] getContent()
获取未经编码转换的原始数据。Get the raw data without encoding conversion.- Returns:
- 未经编码转换的原始数据。Raw data without encoding conversion.
-
getFormat
public java.lang.String getFormat()
获取条形码格式。Get the barcode format.- Returns:
- 如果成功则返回如下条形码格式,失败则返回空字符串
返回的条码类型: "UPC-A", "C39", "C128", "I25", "C93", "GS1 DATABAR", "MSI", "CODEBLOCK F", "PDF417", "MICROPDF", "MAXICODE", "QR CODE", "TELEPEN", "DATA MATRIX", "AZTEC", "HAXIN", "MATRIX 25", "TRIOPTIC", "STRAIGHT 25", "C11", "NEC25", "CodaBar", "HK25", "Postal", "UPC-E", "EAN-13", "EAN-8"Returns the barcode format on success, or an empty string on failure
Returned barcode types: "UPC-A", "C39", "C128", "I25", "C93", "GS1 DATABAR", "MSI", "CODEBLOCK F", "PDF417", "MICROPDF", "MAXICODE", "QR CODE", "TELEPEN", "DATA MATRIX", "AZTEC", "HAXIN", "MATRIX 25", "TRIOPTIC", "STRAIGHT 25", "C11", "NEC25", "CodaBar", "HK25", "Postal", "UPC-E", "EAN-13", "EAN-8"
-
-