Class Scanner


  • public class Scanner
    extends java.lang.Object
    • Constructor Detail

      • Scanner

        public Scanner()
    • Method Detail

      • setQuery

        public void setQuery​(java.lang.String sql)
      • next

        public char next()
      • appendCurrentTokenText

        public void appendCurrentTokenText​(java.lang.StringBuilder sb)
        Appends the portion of the SQL that relates to the most recently scanned token to the provided StringBuilder.
        Parameters:
        sb - the StringBuilder which will be used to append the SQL
      • textLength

        public int textLength()
      • isNextCharIgnoreCase

        public boolean isNextCharIgnoreCase​(char c)