Class GlobToRegex.State

  • Enclosing class:
    GlobToRegex

    private abstract static class GlobToRegex.State
    extends java.lang.Object
    Converter state.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private State()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void finish​(GlobToRegex converter)
      Called after all characters have been read.
      (package private) abstract void process​(GlobToRegex converter, char c)
      Process the next character with the current state, transitioning the converter to a new state if necessary.
      • Methods inherited from class java.lang.Object

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

      • State

        private State()
    • Method Detail

      • process

        abstract void process​(GlobToRegex converter,
                              char c)
        Process the next character with the current state, transitioning the converter to a new state if necessary.
      • finish

        void finish​(GlobToRegex converter)
        Called after all characters have been read.