org.overlord.sramp.shell
Class TabCompleter
java.lang.Object
org.overlord.sramp.shell.TabCompleter
- All Implemented Interfaces:
- jline.console.completer.Completer
public class TabCompleter
- extends Object
- implements jline.console.completer.Completer
Implements tab completion for the interactive
- Author:
- eric.wittmann@redhat.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TabCompleter
public TabCompleter(ShellCommandFactory factory,
ShellContext context)
- Constructor.
- Parameters:
factory - context -
complete
public int complete(String buffer,
int cursor,
List<CharSequence> candidates)
- Specified by:
complete in interface jline.console.completer.Completer
- See Also:
Completer.complete(java.lang.String, int, java.util.List)
Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.