public class FileNameCompleter extends Object implements Completer
Constructor and Description |
---|
FileNameCompleter() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
accept(Path path) |
void |
complete(LineReader reader,
ParsedLine commandLine,
List<Candidate> candidates)
Populates candidates with a list of possible completions for the buffer.
|
protected String |
getDisplay(Terminal terminal,
Path p) |
protected Path |
getUserDir() |
protected Path |
getUserHome() |
public void complete(LineReader reader, ParsedLine commandLine, List<Candidate> candidates)
Completer
List
before returning.protected boolean accept(Path path)
protected Path getUserDir()
protected Path getUserHome()
Copyright © 2018. All rights reserved.