public class CandidateListCompletionHandler extends Object implements jline.console.completer.CompletionHandler
Constructor and Description |
---|
CandidateListCompletionHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
complete(jline.console.ConsoleReader reader,
List<CharSequence> candidates,
int pos) |
void |
setAlwaysIncludeNewline(boolean eagerNewlines) |
public void setAlwaysIncludeNewline(boolean eagerNewlines)
eagerNewlines
- eager new linespublic boolean complete(jline.console.ConsoleReader reader, List<CharSequence> candidates, int pos) throws IOException
complete
in interface jline.console.completer.CompletionHandler
reader
- The console readercandidates
- The candidatespos
- The positionIOException
- if there is a problem