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