| jline.Completor
All known Subclasses: jline.FileNameCompletor, jline.NullCompletor, jline.ArgumentCompletor, jline.SimpleCompletor, jline.MultiCompletor,
Completor | public interface Completor (Code) | | A Completor is the mechanism by which tab-completion candidates
will be resolved.
author: Marc Prud'hommeaux |
Method Summary | |
int | complete(String buffer, int cursor, List candidates) Populates candidates with a list of possible
completions for the buffer. |
complete | int complete(String buffer, int cursor, List candidates)(Code) | | Populates candidates with a list of possible
completions for the buffer. The candidates
list will not be sorted before being displayed to the
user: thus, the complete method should sort the
List before returning.
Parameters: buffer - the buffer Parameters: candidates - the List of candidates to populate the index of the buffer for whichthe completion will be relative |
|
|