jline

Class NullCompletor

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

Method Summary

int
complete(String buffer, int cursor, List candidates)
Returns -1 always, indicating that the the buffer is never handled.

Method Details

complete

public int complete(String buffer,
                    int cursor,
                    List candidates)
Returns -1 always, indicating that the the buffer is never handled.
Specified by:
complete in interface Completor