|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjline.console.completer.AggregateCompleter
public class AggregateCompleter
Completer which contains multiple completers and aggregates them together.
| Constructor Summary | |
|---|---|
AggregateCompleter()
|
|
AggregateCompleter(Collection<Completer> completers)
Construct an AggregateCompleter with the given collection of completers. |
|
AggregateCompleter(Completer... completers)
Construct an AggregateCompleter with the given completers. |
|
| Method Summary | |
|---|---|
int |
complete(String buffer,
int cursor,
List<CharSequence> candidates)
Perform a completion operation across all aggregated completers. |
Collection<Completer> |
getCompleters()
Retrieve the collection of completers currently being aggregated. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AggregateCompleter()
public AggregateCompleter(Collection<Completer> completers)
completers - the collection of completerspublic AggregateCompleter(Completer... completers)
completers - the completers| Method Detail |
|---|
public Collection<Completer> getCompleters()
public int complete(String buffer,
int cursor,
List<CharSequence> candidates)
complete in interface Completerbuffer - The buffercursor - The current position of the cursor in the buffercandidates - The List of candidates to populate
Completer.complete(String, int, java.util.List)public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||