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()
ParsedLineword in interface ParsedLinepublic int wordCursor()
ParsedLinewordCursor in interface ParsedLinepublic int wordIndex()
ParsedLinewordIndex in interface ParsedLinepublic List<String> words()
ParsedLinewords in interface ParsedLinepublic String line()
ParsedLineline in interface ParsedLinepublic int cursor()
ParsedLinecursor in interface ParsedLineCopyright © 2018. All rights reserved.