HighLevelEncoder (ZXing 3.4.0 API)

com.google.zxing.aztec.encoder

## Class HighLevelEncoder

- java.lang.Object
- - com.google.zxing.aztec.encoder.HighLevelEncoder

-     public final class HighLevelEncoder
      extends Object

  This produces nearly optimal encodings of text into the first-level of encoding used by Aztec code. It uses a dynamic algorithm. For each prefix of the string, it determines a set of encodings that could lead to this prefix. We repeatedly add a character and generate a new set of optimal encodings until we have read through the entire input.
  Author:
    Frank Yellin, Rustam Abdullaev

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HighLevelEncoder(byte[] text)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `BitArray` | `encode()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HighLevelEncoder

          public HighLevelEncoder(byte[] text)

  - ### Method Detail

    - #### encode

          public BitArray encode()

      Returns:
        text represented by this encoder encoded as a `BitArray`

Copyright © 2007–2019. All rights reserved.