Class StringsCompleter
java.lang.Object
jline.console.completer.StringsCompleter
- All Implemented Interfaces:
Completer
- Direct Known Subclasses:
EnumCompleter
Completer for a set of strings.
- Since:
- 2.3
- Author:
- Jason Dillon
-
Constructor Summary
ConstructorsConstructorDescriptionStringsCompleter(String... strings) StringsCompleter(Collection<String> strings) -
Method Summary
Modifier and TypeMethodDescriptionintcomplete(String buffer, int cursor, List<CharSequence> candidates) Populates candidates with a list of possible completions for the buffer.
-
Constructor Details
-
StringsCompleter
public StringsCompleter() -
StringsCompleter
-
StringsCompleter
-
-
Method Details
-
getStrings
-
complete
-