Package jline
Class NullCompletor
- java.lang.Object
-
- jline.NullCompletor
-
- All Implemented Interfaces:
Completor
public class NullCompletor extends java.lang.Object implements Completor
A completor that does nothing. Useful as the last item in an
ArgumentCompletor
.- Author:
- Marc Prud'hommeaux
-
-
Constructor Summary
Constructors Constructor Description NullCompletor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
complete(java.lang.String buffer, int cursor, java.util.List candidates)
Returns -1 always, indicating that the the buffer is never handled.
-