jline
Class CandidateListCompletionHandler
java.lang.Object
jline.CandidateListCompletionHandler
- All Implemented Interfaces:
- CompletionHandler
public class CandidateListCompletionHandler
- extends Object
- implements CompletionHandler
A CompletionHandler
that deals with multiple distinct completions
by outputting the complete list of possibilities to the console. This
mimics the behavior of the
readline
library.
CandidateListCompletionHandler
public CandidateListCompletionHandler()
complete
public boolean complete(ConsoleReader reader,
List candidates,
int pos)
throws IOException
- Specified by:
complete
in interface CompletionHandler
- Throws:
IOException