public static class Completers.DirectoriesCompleter extends Completers.FileNameCompleter
| Constructor and Description |
|---|
DirectoriesCompleter(File currentDir) |
DirectoriesCompleter(File currentDir,
boolean forceSlash) |
DirectoriesCompleter(Path currentDir) |
DirectoriesCompleter(Path currentDir,
boolean forceSlash) |
DirectoriesCompleter(Supplier<Path> currentDir) |
DirectoriesCompleter(Supplier<Path> currentDir,
boolean forceSlash) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept(Path path) |
protected String |
getSeparator() |
protected Path |
getUserDir() |
complete, getDisplay, getUserHomepublic DirectoriesCompleter(File currentDir)
public DirectoriesCompleter(File currentDir, boolean forceSlash)
public DirectoriesCompleter(Path currentDir)
public DirectoriesCompleter(Path currentDir, boolean forceSlash)
protected Path getUserDir()
getUserDir in class Completers.FileNameCompleterprotected String getSeparator()
getSeparator in class Completers.FileNameCompleterprotected boolean accept(Path path)
accept in class Completers.FileNameCompleterCopyright © 2020. All rights reserved.