class FileNameCompleter
PATCHED copy from jline 2.12, with https://github.com/jline/jline2/issues/90 (no trailing blank) 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. A file name completer takes the buffer and issues a list of potential completions.
This completer tries to behave as similar as possible to bash's file name completion (using GNU readline) with the following exceptions:| Constructor and description | 
|---|
| FileNameCompleter
                                () | 
| FileNameCompleter
                                (boolean blankSuffix) | 
| FileNameCompleter
                                (boolean blankSuffix, boolean handleLeadingHyphen) | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | int | complete(String buffer, int cursor, List<CharSequence> candidates) | 
|  | protected File | getUserDir() | 
|  | protected File | getUserHome() | 
|  | protected int | matchFiles(String buffer, String translated, File[] files, List<CharSequence> candidates, def hyphenChar) | 
|  | protected CharSequence | render(CharSequence name, String hyphenChar) | 
|  | protected String | separator() | 
Copyright © 2003-2019 The Apache Software Foundation. All rights reserved.