class FileNameCompleter
PATCHED copy from jline 2.12, with https://github.com/jline/jline2/issues/90 (no trailing blank) https://github.com/jline/jline2/pull/204 NOTE: we hope to work with the jline project to have this functionality absorbed into a future jline release and then remove this file, so keep that in mind if you are thinking of changing this file.
Constructor and description |
---|
FileNameCompleter
() |
FileNameCompleter
(boolean printSpaceAfterFullCompletion) |
Type Params | Return Type | Name and description |
---|---|---|
|
int |
complete(String buffer, int cursor, List<CharSequence> candidates) |
|
boolean |
getPrintSpaceAfterFullCompletion() |
|
protected File |
getUserDir() |
|
protected static File |
getUserHome() |
|
protected int |
matchFiles(String buffer, String translated, File[] files, List<CharSequence> candidates) |
|
protected static CharSequence |
render(CharSequence name) @param name |
|
protected static String |
separator() |
|
void |
setPrintSpaceAfterFullCompletion(boolean printSpaceAfterFullCompletion) |
hyphenChar
- force hyphenation with this if not nullCopyright © 2003-2017 The Apache Software Foundation. All rights reserved.