public class StringsCompleter extends Object implements Completer
Modifier and Type | Field and Description |
---|---|
protected Collection<Candidate> |
candidates |
Constructor and Description |
---|
StringsCompleter() |
StringsCompleter(Iterable<String> strings) |
StringsCompleter(String... strings) |
Modifier and Type | Method and Description |
---|---|
void |
complete(LineReader reader,
ParsedLine commandLine,
List<Candidate> candidates)
Populates candidates with a list of possible completions for the buffer.
|
protected final Collection<Candidate> candidates
public StringsCompleter()
public StringsCompleter(String... strings)
public void complete(LineReader reader, ParsedLine commandLine, List<Candidate> candidates)
Completer
List
before returning.Copyright © 2017. All rights reserved.