Package org.jline.builtins
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 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()
-
-
-
Method Detail
-
word
public java.lang.String word()
- Specified by:
word
in interfaceorg.jline.reader.ParsedLine
-
wordCursor
public int wordCursor()
- Specified by:
wordCursor
in interfaceorg.jline.reader.ParsedLine
-
wordIndex
public int wordIndex()
- Specified by:
wordIndex
in interfaceorg.jline.reader.ParsedLine
-
words
public java.util.List<java.lang.String> words()
- Specified by:
words
in interfaceorg.jline.reader.ParsedLine
-
line
public java.lang.String line()
- Specified by:
line
in interfaceorg.jline.reader.ParsedLine
-
cursor
public int cursor()
- Specified by:
cursor
in interfaceorg.jline.reader.ParsedLine
-
-