public abstract class HIBCLICComplexCodetext extends java.lang.Object implements IComplexCodetext
Base class for encoding and decoding the text embedded in the HIBC LIC code.
This sample shows how to decode raw HIBC LIC codetext to HIBCLICComplexCodetext instance.BarCodeReader reader = new BarCodeReader("c:\\test.png", DecodeType.HIBC_AZTEC_LIC); for(BarCodeResult result : reader.readBarCodes()) { HIBCLICComplexCodetext resultHIBCLICComplexCodetext = ComplexCodetextReader.tryDecodeHIBCLIC(result.getCodeText()); System.out.println("BarCode Type: " + resultMaxiCodeCodetext.getBarcodeType()); System.out.println("BarCode CodeText: " + resultMaxiCodeCodetext.getConstructedCodetext()); }
Constructor and Description |
---|
HIBCLICComplexCodetext() |
Modifier and Type | Method and Description |
---|---|
BaseEncodeType |
getBarcodeType()
Gets or sets barcode type.
|
abstract java.lang.String |
getConstructedCodetext()
Constructs codetext
|
abstract void |
initFromString(java.lang.String constructedCodetext)
Initializes instance from constructed codetext.
|
void |
setBarcodeType(BaseEncodeType value)
Gets or sets barcode type.
|
public abstract java.lang.String getConstructedCodetext()
Constructs codetext
getConstructedCodetext
in interface IComplexCodetext
public abstract void initFromString(java.lang.String constructedCodetext)
Initializes instance from constructed codetext.
initFromString
in interface IComplexCodetext
constructedCodetext
- Constructed codetext.public void setBarcodeType(BaseEncodeType value)
Gets or sets barcode type. HIBC LIC codetext can be encoded using HIBCCode39LIC, HIBCCode128LIC, HIBCAztecLIC, HIBCDataMatrixLIC and HIBCQRLIC encode types. Default value: HIBCCode39LIC.
public BaseEncodeType getBarcodeType()
Gets or sets barcode type. HIBC LIC codetext can be encoded using HIBCCode39LIC, HIBCCode128LIC, HIBCAztecLIC, HIBCDataMatrixLIC and HIBCQRLIC encode types. Default value: HIBCCode39LIC.
getBarcodeType
in interface IComplexCodetext