jline
public static class ArgumentCompletor.ArgumentList extends Object
Constructor Summary | |
---|---|
ArgumentList(String[] arguments, int cursorArgumentIndex, int argumentPosition, int bufferPosition) |
Method Summary | |
---|---|
int | getArgumentPosition() |
String[] | getArguments() |
int | getBufferPosition() |
String | getCursorArgument() |
int | getCursorArgumentIndex() |
void | setArgumentPosition(int argumentPosition) |
void | setArguments(String[] arguments) |
void | setBufferPosition(int bufferPosition) |
void | setCursorArgumentIndex(int cursorArgumentIndex) |
Parameters: arguments the array of tokens cursorArgumentIndex the token index of the cursor argumentPosition the position of the cursor in the current token bufferPosition the position of the cursor in the whole buffer