Package 

Interface Findable


  • 
    public interface Findable
    
                        

    Interface used to support find and match features

    • Method Summary

      Modifier and Type Method Description
      abstract List<Token> findMatches(String regex) Find all the the tokens that matches the regex string and save them on a list
      abstract Token findNextMatch() Highlight and return the next token
      abstract Token findPrevMatch() Highlight and return the previous token
      abstract void clearMatches() Clear all the matches tokens
      • Methods inherited from class java.lang.Object

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

      • findMatches

         abstract List<Token> findMatches(String regex)

        Find all the the tokens that matches the regex string and save them on a list

        Parameters:
        regex - The regex used to find tokens
      • clearMatches

         abstract void clearMatches()

        Clear all the matches tokens