Completer
@Deprecated public class FileNameCompleter extends Object implements Completer
org.jline.builtins.Completers$FileNameCompleter
insteadThis completer tries to behave as similar as possible to bash's file name completion (using GNU readline) with the following exceptions:
Constructor | Description |
---|---|
FileNameCompleter() |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
accept(Path path) |
Deprecated.
|
void |
complete(LineReader reader,
ParsedLine commandLine,
List<Candidate> candidates) |
Deprecated.
Populates candidates with a list of possible completions for the command line.
|
protected String |
getDisplay(Terminal terminal,
Path p) |
Deprecated.
|
protected Path |
getUserDir() |
Deprecated.
|
protected Path |
getUserHome() |
Deprecated.
|
public void complete(LineReader reader, ParsedLine commandLine, List<Candidate> candidates)
Completer
protected boolean accept(Path path)
protected Path getUserDir()
protected Path getUserHome()
Copyright © 2020. All rights reserved.