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