org.overlord.sramp.shell.util
Class FileNameCompleter
java.lang.Object
jline.console.completer.FileNameCompleter
org.overlord.sramp.shell.util.FileNameCompleter
- All Implemented Interfaces:
- jline.console.completer.Completer
public class FileNameCompleter
- extends jline.console.completer.FileNameCompleter
File name completer that undoes the Windows backslash mojo so that
the completer will work in most modern Windows shells, including
cygwin.
- Author:
- eric.wittmann@redhat.com
| Methods inherited from class jline.console.completer.FileNameCompleter |
getUserDir, getUserHome, matchFiles, render, separator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileNameCompleter
public FileNameCompleter()
- Constructor.
complete
public int complete(String buffer,
int cursor,
List<CharSequence> candidates)
- Specified by:
complete in interface jline.console.completer.Completer- Overrides:
complete in class jline.console.completer.FileNameCompleter
- See Also:
FileNameCompleter.complete(java.lang.String, int, java.util.List)
Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.