class SimpleOrFileNameCompletor extends java.lang.Object implements jline.console.completer.Completer
JLine Completor that mixes a fixed set of options with file path matches. Fixed options that match will appear first, followed by file path matches.
Constructor and description |
---|
SimpleOrFileNameCompletor
(java.util.List fixedOptions) |
SimpleOrFileNameCompletor
(java.lang.String[] fixedOptions) |
Type Params | Return Type | Name and description |
---|---|---|
|
int |
complete(java.lang.String buffer, int cursor, java.util.List candidates) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |