| java.lang.Object | |
| ↳ | jline.console.completer.ArgumentCompleter.AbstractArgumentDelimiter |
Known Direct Subclasses
|
Abstract implementation of a delimiter that uses the isDelimiter(CharSequence, int) method to determine if a particular
character should be used as a delimiter.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Break the specified buffer into individual tokens that can be completed on their own.
| |||||||||||
Returns true if the specified character is a whitespace parameter.
| |||||||||||
Returns true if the character at the specified position if a delimiter.
| |||||||||||
Check if this character is a valid escape char (i.e.
| |||||||||||
Check if a character is escaped (i.e.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
jline.console.completer.ArgumentCompleter.ArgumentDelimiter
| |||||||||||
Break the specified buffer into individual tokens that can be completed on their own.
| buffer | The buffer to split |
|---|---|
| cursor | The current position of the cursor in the buffer |
Returns true if the specified character is a whitespace parameter. Check to ensure that the character is not
escaped by any of getQuoteChars(), and is not escaped by ant of the getEscapeChars(), and
returns true from isDelimiterChar(CharSequence, int).
| buffer | The complete command buffer |
|---|---|
| pos | The index of the character in the buffer |
Returns true if the character at the specified position if a delimiter. This method will only be called if
the character is not enclosed in any of the getQuoteChars(), and is not escaped by ant of the
getEscapeChars(). To perform escaping manually, override isDelimiter(CharSequence, int) instead.
Check if this character is a valid escape char (i.e. one that has not been escaped)
Check if a character is escaped (i.e. if the previous character is an escape)
| buffer | the buffer to check in |
|---|---|
| pos | the position of the character to check |