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(java.lang.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, setQuoteChars
public boolean isDelimiterChar(java.lang.CharSequence buffer, int pos)
isDelimiterChar
in class ArgumentCompleter.AbstractArgumentDelimiter
Copyright © 2018. All Rights Reserved.