public static interface

ArgumentCompleter.ArgumentDelimiter

jline.console.completer.ArgumentCompleter.ArgumentDelimiter
Known Indirect Subclasses

Class Overview

The ArgumentCompleter.ArgumentDelimiter allows custom breaking up of a String into individual arguments in order to dispatch the arguments to the nested Completer.

Summary

Public Methods
abstract ArgumentCompleter.ArgumentList delimit(CharSequence buffer, int pos)
Break the specified buffer into individual tokens that can be completed on their own.
abstract boolean isDelimiter(CharSequence buffer, int pos)
Returns true if the specified character is a whitespace parameter.

Public Methods

public abstract ArgumentCompleter.ArgumentList delimit (CharSequence buffer, int pos)

Break the specified buffer into individual tokens that can be completed on their own.

Parameters
buffer The buffer to split
pos The current position of the cursor in the buffer
Returns
  • The tokens

public abstract boolean isDelimiter (CharSequence buffer, int pos)

Returns true if the specified character is a whitespace parameter.

Parameters
buffer The complete command buffer
pos The index of the character in the buffer
Returns
  • True if the character should be a delimiter