jline
public abstract static class ArgumentCompletor.AbstractArgumentDelimiter extends Object implements ArgumentCompletor.ArgumentDelimiter
Method Summary | |
---|---|
ArgumentCompletor.ArgumentList | delimit(String buffer, int cursor) |
char[] | getEscapeChars() |
char[] | getQuoteChars() |
boolean | isDelimiter(String buffer, int pos)
Returns true if the specified character is a whitespace
parameter. |
abstract boolean | isDelimiterChar(String buffer, int pos)
Returns true if the character at the specified position
if a delimiter. |
boolean | isEscaped(String buffer, int pos) |
boolean | isQuoted(String buffer, int pos) |
void | setEscapeChars(char[] escapeChars) |
void | setQuoteChars(char[] quoteChars) |
Parameters: buffer the complete command buffer pos the index of the character in the buffer
Returns: true if the character should be a delimiter