public static class ArgumentCompleter.ArgumentLine extends Object implements ParsedLine
Constructor and Description |
---|
ArgumentLine(String word,
int cursor) |
Modifier and Type | Method and Description |
---|---|
int |
cursor()
The cursor position within the line.
|
String |
line()
The unparsed line.
|
String |
word()
The current word being completed.
|
int |
wordCursor()
The cursor position within the current word.
|
int |
wordIndex()
The index of the current word in the list of words.
|
List<String> |
words()
The list of words.
|
public ArgumentLine(String word, int cursor)
public String word()
ParsedLine
word
in interface ParsedLine
public int wordCursor()
ParsedLine
wordCursor
in interface ParsedLine
public int wordIndex()
ParsedLine
wordIndex
in interface ParsedLine
public List<String> words()
ParsedLine
words
in interface ParsedLine
public String line()
ParsedLine
line
in interface ParsedLine
public int cursor()
ParsedLine
cursor
in interface ParsedLine