Class UTF32ToUTF8


  • public final class UTF32ToUTF8
    extends Object
    Converts UTF-32 automata to the equivalent UTF-8 representation.
    • Constructor Detail

      • UTF32ToUTF8

        public UTF32ToUTF8()
    • Method Detail

      • convert

        public Automaton convert​(Automaton utf32)
        Converts an incoming utf32 automaton to an equivalent utf8 one. The incoming automaton need not be deterministic. Note that the returned automaton will not in general be deterministic, so you must determinize it if that's needed.