Class Completers.RegexCompleter.ArgumentLine

  • All Implemented Interfaces:
    org.jline.reader.ParsedLine
    Enclosing class:
    Completers.RegexCompleter

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

      Constructors 
      Constructor Description
      ArgumentLine​(java.lang.String word, int cursor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int cursor()  
      java.lang.String line()  
      java.lang.String word()  
      int wordCursor()  
      int wordIndex()  
      java.util.List<java.lang.String> words()  
      • Methods inherited from class java.lang.Object

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

      • ArgumentLine

        public ArgumentLine​(java.lang.String word,
                            int cursor)
    • Method Detail

      • word

        public java.lang.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 java.util.List<java.lang.String> words()
        Specified by:
        words in interface org.jline.reader.ParsedLine
      • line

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

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