Class HIBCLICComplexCodetext

java.lang.Object
com.aspose.barcode.complexbarcode.HIBCLICComplexCodetext
All Implemented Interfaces:
IComplexCodetext
Direct Known Subclasses:
HIBCLICCombinedCodetext, HIBCLICPrimaryDataCodetext, HIBCLICSecondaryAndAdditionalDataCodetext

public abstract class HIBCLICComplexCodetext extends 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 Details

    • HIBCLICComplexCodetext

      public HIBCLICComplexCodetext()
  • Method Details

    • getConstructedCodetext

      public abstract String getConstructedCodetext()

      Constructs codetext

      Specified by:
      getConstructedCodetext in interface IComplexCodetext
      Returns:
      Constructed codetext
    • initFromString

      public abstract void initFromString(String constructedCodetext)

      Initializes instance from constructed codetext.

      Specified by:
      initFromString in interface IComplexCodetext
      Parameters:
      constructedCodetext - Constructed codetext.
    • setBarcodeType

      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.

    • getBarcodeType

      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.

      Specified by:
      getBarcodeType in interface IComplexCodetext
      Returns:
      Barcode type.