@DeprecatedDeprecated class SimpleCompletor extends Object
Support for simple completors.
Type | Name and description |
---|---|
private SortedSet |
candidates |
SortedSet |
candidates |
private boolean |
withBlank |
Constructor and description |
---|
SimpleCompletor
(String[] candidates) |
SimpleCompletor
() |
SimpleCompletor
(Closure loader) |
SimpleCompletor
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
add(String candidate) |
|
void |
addCandidateString(String string) |
|
int |
complete(String buffer, int cursor, List clist) |
|
SortedSet |
getCandidates() |
|
Object |
leftShift(String s) |
|
void |
setCandidateStrings(String[] strings) |
|
void |
setCandidates(SortedSet candidates) |
|
void |
setWithBlank(boolean withBlank) |
A delimiter to use to qualify completions.
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.