| Modifier and Type | Field and Description |
|---|---|
| protected Collection | |
| protected Supplier |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | complete(LineReader reader, final ParsedLine commandLine, final List<Candidate> candidates)
Implements jdk. Populates candidates with a list of possible completions for the command line. |
| public String |
| candidates | back to summary |
|---|---|
| protected Collection<Candidate> candidates | |
| stringsSupplier | back to summary |
|---|---|
| protected Supplier<Collection<String>> stringsSupplier | |
| StringsCompleter | back to summary |
|---|---|
| public StringsCompleter() | |
| StringsCompleter | back to summary |
|---|---|
| public StringsCompleter(Supplier<Collection<String>> stringsSupplier) | |
| StringsCompleter | back to summary |
|---|---|
| public StringsCompleter(String... strings) | |
| StringsCompleter | back to summary |
|---|---|
| public StringsCompleter(Iterable<String> strings) | |
| StringsCompleter | back to summary |
|---|---|
| public StringsCompleter(Candidate... candidates) | |
| StringsCompleter | back to summary |
|---|---|
| public StringsCompleter(Collection<Candidate> candidates) | |
| complete | back to summary |
|---|---|
| public void complete(LineReader reader, final ParsedLine commandLine, final List<Candidate> candidates) Implements jdk. Doc from jdk. Populates candidates with a list of possible completions for the command line. The list of candidates will be sorted and filtered by the LineReader, so that the list of candidates displayed to the user will usually be smaller than the list given by the completer. Thus it is not necessary for the completer to do any matching based on the current buffer. On the contrary, in order for the typo matcher to work, all possible candidates for the word being completed should be returned.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |