|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ArgumentCompletor.ArgumentDelimiter
allows custom
breaking up of a String
into individual arguments in
order to dispatch the arguments to the nested Completor
.
Method Summary | |
ArgumentCompletor.ArgumentList |
delimit(String buffer,
int argumentPosition)
Break the specified buffer into individual tokens that can be completed on their own. |
boolean |
isDelimiter(String buffer,
int pos)
Returns true if the specified character is a whitespace parameter. |
Method Detail |
public ArgumentCompletor.ArgumentList delimit(String buffer, int argumentPosition)
buffer
- the buffer to splitargumentPosition
- the current position of the
cursor in the buffer
public boolean isDelimiter(String 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 |