Class EncoderContext


  • final class EncoderContext
    extends java.lang.Object
    • Field Detail

      • msg

        private final java.lang.String msg
      • codewords

        private final java.lang.StringBuilder codewords
      • pos

        int pos
      • newEncoding

        private int newEncoding
      • skipAtEnd

        private int skipAtEnd
    • Constructor Detail

      • EncoderContext

        EncoderContext​(java.lang.String msg)
    • Method Detail

      • setSizeConstraints

        public void setSizeConstraints​(Dimension minSize,
                                       Dimension maxSize)
      • getMessage

        public java.lang.String getMessage()
      • setSkipAtEnd

        public void setSkipAtEnd​(int count)
      • getCurrentChar

        public char getCurrentChar()
      • getCurrent

        public char getCurrent()
      • getCodewords

        public java.lang.StringBuilder getCodewords()
      • writeCodewords

        public void writeCodewords​(java.lang.String codewords)
      • writeCodeword

        public void writeCodeword​(char codeword)
      • getCodewordCount

        public int getCodewordCount()
      • getNewEncoding

        public int getNewEncoding()
      • signalEncoderChange

        public void signalEncoderChange​(int encoding)
      • resetEncoderSignal

        public void resetEncoderSignal()
      • hasMoreCharacters

        public boolean hasMoreCharacters()
      • getTotalMessageCharCount

        private int getTotalMessageCharCount()
      • getRemainingCharacters

        public int getRemainingCharacters()
      • getSymbolInfo

        public SymbolInfo getSymbolInfo()
      • updateSymbolInfo

        public void updateSymbolInfo()
      • updateSymbolInfo

        public void updateSymbolInfo​(int len)
      • resetSymbolInfo

        public void resetSymbolInfo()