public static class ArgumentCompleter.WhitespaceArgumentDelimiter extends ArgumentCompleter.AbstractArgumentDelimiter
ArgumentCompleter.ArgumentDelimiter implementation that counts all whitespace (as reported by
Character.isWhitespace(char)) as being a delimiter.| Constructor and Description |
|---|
WhitespaceArgumentDelimiter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDelimiterChar(CharSequence buffer,
int pos)
The character is a delimiter if it is whitespace, and the
preceding character is not an escape character.
|
delimit, getEscapeChars, getQuoteChars, isDelimiter, isEscapeChar, isEscaped, isQuoteChar, isQuoted, setEscapeChars, setQuoteCharspublic boolean isDelimiterChar(CharSequence buffer, int pos)
isDelimiterChar in class ArgumentCompleter.AbstractArgumentDelimiterCopyright © 2017. All Rights Reserved.