Class ComplexCodetextReader

java.lang.Object
com.aspose.barcode.complexbarcode.ComplexCodetextReader

public final class ComplexCodetextReader extends Object

ComplexCodetextReader decodes codetext to specified complex barcode type.


  This sample shows how to recognize and decode SwissQR image.
  
  BarCodeReader cr = new BarCodeReader("SwissQRCodetext.png", DecodeType.QR);
  cr.read();
  SwissQRCodetext result = ComplexCodetextReader.tryDecodeSwissQR(cr.getCodeText());
        

  • Method Details

    • tryDecodeSwissQR

      public static SwissQRCodetext tryDecodeSwissQR(String encodedCodetext)

      Decodes SwissQR codetext.

      Parameters:
      encodedCodetext - encoded codetext
      Returns:
      decoded SwissQRCodetext or null.
    • tryDecodeMailmark2D

      public static Mailmark2DCodetext tryDecodeMailmark2D(String encodedCodetext)
      Decodes Royal Mail Mailmark 2D codetext.
      Parameters:
      encodedCodetext - encoded codetext
      Returns:
      decoded Royal Mail Mailmark 2D or null.
    • tryDecodeMailmark

      public static MailmarkCodetext tryDecodeMailmark(String encodedCodetext)
      Decodes Mailmark Barcode C and L codetext.
      Parameters:
      encodedCodetext - encoded codetext
      Returns:
      Decoded Mailmark Barcode C and L or null.
    • tryDecodeMaxiCode

      public static MaxiCodeCodetext tryDecodeMaxiCode(int maxiCodeMode, String encodedCodetext)
      Decodes MaxiCode codetext.
      Parameters:
      maxiCodeMode - MaxiCode mode
      encodedCodetext - encoded codetext
      Returns:
      Decoded MaxiCode codetext.
    • tryDecodeHIBCLIC

      public static HIBCLICComplexCodetext tryDecodeHIBCLIC(String encodedCodetext)

      Decodes HIBC LIC codetext.

      Parameters:
      encodedCodetext - encoded codetext
      Returns:
      decoded HIBC LIC Complex Codetext or null.
    • tryDecodeHIBCPAS

      public static HIBCPASCodetext tryDecodeHIBCPAS(String encodedCodetext)

      Decodes HIBC PAS codetext.

      Parameters:
      encodedCodetext - encoded codetext
      Returns:
      decoded HIBC PAS Complex Codetext or null.
    • tryDecodeUSADriveId

      public static com.aspose.barcode.complexbarcode.USADriveIdCodetext tryDecodeUSADriveId(String encodedCodetext)

      Decodes USADriveId codetext.

      Parameters:
      encodedCodetext - Encoded codetext
      Returns:
      Decoded USADriveId or null.