com.aspose.barcode

Class ExtCodetextBuilder

  • java.lang.Object
    • com.aspose.barcode.ExtCodetextBuilder
  • Direct Known Subclasses:
    QrExtCodetextBuilder


    public abstract class ExtCodetextBuilder
    extends java.lang.Object

    Helper class for automatic codetext generation of the Extended Codetext Mode

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void addECICodetext(int ECIEncoding, java.lang.String codetext)
      Adds codetext with Extended Channel Identifier
      void addPlainCodetext(java.lang.String codetext)
      Adds plain codetext to the extended codetext items
      void clear()
      Clears extended codetext items
      abstract java.lang.String getExtendedCodetext()
      Generate extended codetext from generation items list
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExtCodetextBuilder

        public ExtCodetextBuilder()
    • Method Detail

      • clear

        public void clear()

        Clears extended codetext items

      • addPlainCodetext

        public void addPlainCodetext(java.lang.String codetext)

        Adds plain codetext to the extended codetext items

        Parameters:
        codetext - Codetext in unicode to add as extended codetext item
      • addECICodetext

        public void addECICodetext(int ECIEncoding,
                          java.lang.String codetext)

        Adds codetext with Extended Channel Identifier

        Parameters:
        ECIEncoding - Extended Channel Identifier
        codetext - Codetext in unicode to add as extended codetext item with Extended Channel Identifier
      • getExtendedCodetext

        public abstract java.lang.String getExtendedCodetext()

        Generate extended codetext from generation items list

        Returns:
        Return string of extended codetext