Class AztecEncoderAutomatic

All Implemented Interfaces:

public class AztecEncoderAutomatic extends Object implements VerbosePrint
Automatic encoding algorithm as described in [1] which seeks to encode text in a format which minimizes the amount of storage required.
  • latch = switching into a mode until it switches out of it
  • shift = switching into a mode for a single then going back into the source mode

[1] ISO/IEC 24778:2008(E)

  • Field Details

  • Constructor Details

    • AztecEncoderAutomatic

      public AztecEncoderAutomatic()
  • Method Details

    • process

      public void process(String message, AztecEncoder encoder)
      Processes and encodes the string
      message - (Input) String that's to be encoded
      encoder - (Input/Output) Encoder for parses segments
    • isPunctuation

      public boolean isPunctuation(int c)
    • setVerbose

      public void setVerbose(@Nullable @Nullable PrintStream out, @Nullable @Nullable Set<String> configuration)
      Specified by:
      setVerbose in interface VerbosePrint