Class Completers.RegexCompleter.ArgumentLine

java.lang.Object
org.jline.builtins.Completers.RegexCompleter.ArgumentLine
All Implemented Interfaces:
org.jline.reader.ParsedLine
Enclosing class:
Completers.RegexCompleter

public static class Completers.RegexCompleter.ArgumentLine extends Object implements org.jline.reader.ParsedLine
  • Constructor Details

    • ArgumentLine

      public ArgumentLine(String word, int cursor)
  • Method Details

    • word

      public String word()
      Specified by:
      word in interface org.jline.reader.ParsedLine
    • wordCursor

      public int wordCursor()
      Specified by:
      wordCursor in interface org.jline.reader.ParsedLine
    • wordIndex

      public int wordIndex()
      Specified by:
      wordIndex in interface org.jline.reader.ParsedLine
    • words

      public List<String> words()
      Specified by:
      words in interface org.jline.reader.ParsedLine
    • line

      public String line()
      Specified by:
      line in interface org.jline.reader.ParsedLine
    • cursor

      public int cursor()
      Specified by:
      cursor in interface org.jline.reader.ParsedLine