|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ArgumentCompleter.ArgumentDelimiter
The ArgumentCompleter.ArgumentDelimiter allows custom breaking up of a String into individual
arguments in order to dispatch the arguments to the nested Completer.
| Method Summary | |
|---|---|
ArgumentCompleter.ArgumentList |
delimit(CharSequence buffer,
int pos)
Break the specified buffer into individual tokens that can be completed on their own. |
boolean |
isDelimiter(CharSequence buffer,
int pos)
Returns true if the specified character is a whitespace parameter. |
| Method Detail |
|---|
ArgumentCompleter.ArgumentList delimit(CharSequence buffer,
int pos)
buffer - The buffer to splitpos - The current position of the cursor in the buffer
boolean isDelimiter(CharSequence buffer,
int pos)
buffer - The complete command bufferpos - The index of the character in the buffer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||