Package jline
Class MultiCompletor
java.lang.Object
jline.MultiCompletor
- All Implemented Interfaces:
Completor
A completor that contains multiple embedded completors. This differs
from the ArgumentCompletor
, in that the nested completors
are dispatched individually, rather than delimited by arguments.
- Author:
- Marc Prud'hommeaux
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a MultiCompletor with no embedded completors.MultiCompletor
(List completors) Construct a MultiCompletor with the specified list ofCompletor
instances.MultiCompletor
(Completor[] completors) Construct a MultiCompletor with the specifiedCompletor
instances. -
Method Summary
Modifier and TypeMethodDescriptionint
Populates candidates with a list of possible completions for the buffer.void
setCompletors
(Completor[] completors)
-
Constructor Details
-
Method Details